Changes between Version 20 and Version 21 of SplitSettings
- Timestamp:
- Nov 23, 2011, 1:23:42 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SplitSettings
v20 v21 567 567 568 568 If you must use a {{{settings/local.py}}} for some reason, virtualenvwrapper's {{{postactivate/postdeactivate}}} hooks are a good place to set {{{DJANGO_SETTINGS_MODULE}}} to point to it for local development per-project. It's advisable to eliminate as many potential discrepancies between dev and production configuration as possible, though. 569 570 == Yipit's method == 571 572 [http://tech.yipit.com/author/adam-nelson/ Adam Nelson] from [http://yipit.com/ Yipit] blogged about their method of managing Django settings. See [http://tech.yipit.com/2011/11/02/django-settings-what-to-do-about-settings-py/ Extending Django Settings for the Real World]. TODO: summarize the blog post here.