djangosnippets.org: Latest snippets posted by elpaso66https://djangosnippets.org/users/elpaso66/2010-02-28T08:51:37.552635-06:00elpaso66localsettings
2010-02-28T08:51:37.552635-06:00elpaso66https://djangosnippets.org/snippets/1945/<p>I'm using this to store settings in a thread-safe manner on mod_wsgi multithread deployment.</p>
<p>The idea is to import
<code>from localsettings import localsettings</code>
instead of doing
<code>from django.conf import settings</code>
and use it as you would use normal settings, with the difference that you can alter settings for the current …</p>
Freely redistributable