Re: [mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Charles Cossé
I am running 2x virtual hosts via apache/wsgi/django ... if i hide them away in venvs how do i get them back online? TIA, Charles On Wed, Sep 30, 2015 at 12:13 PM, Charles Cossé wrote: > Thank you, will try the latter after lunch. Maybe the former, too, at > this point. > -C

Re: [mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Eduardo Rivas
You only need to tell Apache to use the virtualenv's Python instead of the system's Python. "/usr/bin/python" becomes "/path/to/your-virtualenv/bin/python". -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and

[mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Charles Cossé
Hi, I'm trying to use django-schedular with Mezzanine but default Mezzanine installed Django-1.8.4 and pretty sure now that I need Django-1.7 for django-schedular. Not being overly guru-istic with Ubuntu, how do you force Ubuntu to use Django-1.7, and prevent Mezzanine from upgrading to 1.8?

Re: [mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Eduardo Rivas
Best way is to use a virtualenv and pin your Django version in requirements.txt. It's highly recommend you develop all python projects in separate virtual environments. This is a great guide, and also explains how to pin (freeze) requirements:

Re: [mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Charles Cossé
Thank you, will try the latter after lunch. Maybe the former, too, at this point. -C On Sep 30, 2015 12:10 PM, "Eduardo Rivas" wrote: > Best way is to use a virtualenv and pin your Django version in > requirements.txt. > > It's highly recommend you develop all python