Hi there,

To keep my projects tidy, I'm used to having all my apps in a
subfolder "apps".
This means that I need to add that subfolder to the pythonpath. I can
do this in apache or by doing runserver --pythonpath=apps.

However, I'd like to extend the pythonpath within the code, for
example in settings.py(*). That would save me from altering apache
config files and would therefore make deployment a little easier.

Is that possible, and is it recommended practice?

Cheers!

Julien

(*) Maybe something like this:
PYTHON_PATH += 'apps/'
--~--~---------~--~----~------------~-------~--~----~
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