Do not install django as part of site-packges.
Treat it as a python package like any other.
Create two directories:
django-0.96/
django-pre-1.0/

put the old django in 0.96 (as a sub directory 'django')
put the new svn in pre-1.0

Then for your projects have your PYTHONPATH set appropriatly.

because you need django for settings.py, you can not set it in
settings.
custom env scripts work well (and I recommend virtualenv)

hope this helps.

    -Doug


On Jul 19, 9:26 pm, Rodrigo Culagovski <[EMAIL PROTECTED]> wrote:
> I'm looking foward to trying out the merged newforms-admin on my
> upcoming projects. However, I have a few ongoing projects already
> developed using pre-newforms-admin django.
> I make changes to the projects on my local machine and test them
> before comitting them to the remote production sites, so, unless I
> want to refactor all these sites, I need to keep the current django
> version on my development machine.
> Question: Is it possible to have two django versions on a single
> machine? Is there a way to tell each project which one to use, maybe
> in settings.py?
> I realize that it might make sense to refactor the existing projects
> to work with newforms-admin, just not sure how much time this would
> take for some already considerably complex and extended model
> definitions, plus testing, etc.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to