Hi!  I've started to use Django and it's wonderful.  I'm about ready
to launch my first production site (around 4,000 visitors daily) and I
found that I was unable to setup the sandbox/staging/production setup
I'm used to having.

Basically, the problem is that files will have imports in them that
clearly don't change themselves for each environment.  I can get
around this while in the same app by just doing a [from models import
blah], but that doesn't work if you're trying to do a [from
project.salt.models import blah] in project.pepper.views.

Is there any way to make these paths relative to the project they're
in?  That way I can hack around on sandbox and just stick it in SVN to
move it to staging without having to change anything and then on to
production likewise.


--~--~---------~--~----~------------~-------~--~----~
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