Re: Help: Running 1.0 and 0.96 side by side?

2008-09-13 Thread Matt Conrad
On Fri, Sep 12, 2008 at 1:58 PM, Kevin Teague <[EMAIL PROTECTED]> wrote: > Finally, you could patch a Python program such as manage.py so that > you do something like: > > import sys > sys.path[0:0] = [ > '\somelocation-for-django-1.0\', > ] > import django > > This would pick up your Django

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Kevin Teague
On Sep 12, 10:06 am, "Matt Conrad" <[EMAIL PROTECTED]> wrote: > On Fri, Sep 12, 2008 at 11:15 AM, Jeff Anderson > > <[EMAIL PROTECTED]> wrote: > > You can influence what this list is, by setting the PYTHONPATH > > environmental variable. All you need to do is set your PYTHONPATH > >

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Matt Conrad
On Fri, Sep 12, 2008 at 11:15 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > > Matt Conrad wrote: >> 2008/9/12 Jarek Zgoda <[EMAIL PROTECTED]>: >>> Use virtualenv (http://pypi.python.org/pypi/virtualenv) with separate >>> environments for each django version. >> >> Thanks Jarek. I will try the

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Matt Conrad
On Fri, Sep 12, 2008 at 11:15 AM, Jeff Anderson <[EMAIL PROTECTED]> wrote: > You can influence what this list is, by setting the PYTHONPATH > environmental variable. All you need to do is set your PYTHONPATH > appropriately, and point it to the appropriate place, depending on which > Django

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Steve Holden
Matt Conrad wrote: > 2008/9/12 Jarek Zgoda <[EMAIL PROTECTED]>: >> Use virtualenv (http://pypi.python.org/pypi/virtualenv) with separate >> environments for each django version. > > Thanks Jarek. I will try the directory based approach first, but also > keep this in mind. > OK, here's why you

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Jeff Anderson
Matt Conrad wrote: > Thanks for the reply. I don't quite understand yet. Let's see how close I am. > > I have a Python application directory (on my machine, > C:\apps\Python25\). Inside that directory I have > \Lib\site-packages\django, which is currently v0.96. > > Right now, the PYTHONPATH

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Matt Conrad
2008/9/12 Jarek Zgoda <[EMAIL PROTECTED]>: > > Use virtualenv (http://pypi.python.org/pypi/virtualenv) with separate > environments for each django version. Thanks Jarek. I will try the directory based approach first, but also keep this in mind. Matt

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Matt Conrad
Thanks for the reply. I don't quite understand yet. Let's see how close I am. I have a Python application directory (on my machine, C:\apps\Python25\). Inside that directory I have \Lib\site-packages\django, which is currently v0.96. Right now, the PYTHONPATH environment variable is not set

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Jarek Zgoda
Use virtualenv (http://pypi.python.org/pypi/virtualenv) with separate environments for each django version. Wiadomość napisana w dniu 2008-09-12, o godz. 16:51, przez Matt: > > I'm slowly learning Django. I'd like to run 1.0 and 0.96 side by > side, running on Windows XP. Right now, I only

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Jeff Anderson
Matt wrote: > Does anyone have ideas on running 0.96 and 1.0 side by side safely? > All I've done in the past is set my PYTHONPATH based on which checkout/release of Django I want used in a particular instance. It works quite well, even in production. Jeff Anderson signature.asc

Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Matt
I'm slowly learning Django. I'd like to run 1.0 and 0.96 side by side, running on Windows XP. Right now, I only have version 0.96 installed. My ideal scenario would be to be able to use either: from django096.conf.urls.defaults import * or from django.conf.urls.defaults import * to switch