djangosnippets.org: Latest snippets tagged with 'config-file'https://djangosnippets.org/tags/config-file/2013-01-21T10:50:40.998661-06:00create_model_instances management command
2013-01-21T10:50:40.998661-06:00Lacrymologyhttps://djangosnippets.org/snippets/2881/<p>This management command is run like this: <code>./manage.py -a someapp filename.cfg</code></p>
<p>it looks in <code>someapp</code>'s directory for a file called <code>/config/filename.cfg</code> with the format explained in the help text, and creates the model instances described in the config file.</p>
<p>It uses the configobj module.</p>
<p>this would be an example …</p>
Freely redistributableAccess Control Mechanisms with mod_wsgi
2010-02-10T07:45:49.653741-06:00johnnoonehttps://djangosnippets.org/snippets/1920/<p>Here my piece of code for managing users with WSGIAuthUserScript.</p>
Freely redistributable