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
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
> >
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo