A team I'm working with has its hands full with an old Django 1.4 project 
(python 2.7). We're thinking of refactoring the code-base and migrating 
things over to the latest Django 1.9. Thing is, we can't abruptly stop 
working on the old 1.4 code base. So, an idea was floated - to start a new 
Django 1.9 project but refer the old code-base as a library using wrappers 
(and continue development of the old code base in parallel). Is this 
possible? If so, how can it be done?

The problem, is how to deal with having different environments for both 
projects. For example, the old django 1.4 based project used the piston 
library. This no longer works with Django 1.9, and I'd rather not hack 
around it. Is it possible, to create a virtualenv for the old project to 
link to (and work with), but use a different virtualenv for the new 
project, but allow the new project to import/use the old project as a 
library? Note: we are talking about two different django projects with 
different settings.py files as well.

Searching online leads me to information on setting up a virtualenv for a 
single project, but nothing on linking together two projects with different 
virtualenv environments.

Feeling a bit lost,
Abraham V.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/26a27d48-590e-46b1-9d25-193f6c3583d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to