Hi,

After seeing this [1], I use a "conf" package inside all my apps, with a 'settings.py' file.

Done properly, this enables you to provide defaults with your apps while allowing to define custom settings at project level if iinside you apps.conf.settings you check first if this value is set at project level.

By the way, I'd prefer to do:

from myapp.conf.settings import CONST.

Hope this helps.

Regards,

[1] http://michaeltrier.com/2008/02/02/django-screencasts-6---application-settings/

--
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to