How do I use different setting for each application?
For example:
http://www.mysite.com/app1 uses the settings.py + local_settings.py of the app1's folder...
http://www.mysite.com/app2 uses the settings.py + local_settings.py of the app2's folder...
etc...
Thanks,
It's not pretty, but you can put the following in your
settings.py
afterINSTALLED_APPS
:Older relevant thread talking about per application settings:
http://groups.google.com/group/django-developers/browse_thread/thread/fc8b2e284459f6cf
You can run multiple django instances on a single domain with different settings using the advice from here:
multiple instances of django on a single domain
you could check all ways of splitting up your settings from here: https://code.djangoproject.com/wiki/SplitSettings