django-configurations/configurations
John R Dietrick f7f1f734d1 Fix handling of fallback to optparse.OptionParser
By the time the code here runs, it's too late to be modifying
base.BaseCommand.option_list; in fact doing so causes an OptionConflictError if
you later call another management command "recursively" while you're running
the first one.

We want to leave BaseCommand's option_list untouched (it's `()` by default in
Django 1.8+) in case the command we are wrapping has already upgraded to
argparse. BUT, if it hasn't, we'll get an OptionParser back, and can tack our
argument on at the last minute.
2015-09-10 20:45:03 +08:00
..
__init__.py Call django.setup() for Sphinx, too. 2015-02-13 22:18:33 +01:00
base.py Merge remote-tracking branch 'joke2k/dot-env' 2015-01-06 22:34:29 +01:00
decorators.py Renamed Settings class to Configuration to better match what it means. Settings is still importable and is marked to be deprecated in 1.0. 2013-07-27 12:05:39 +02:00
fastcgi.py Add a fastcgi helper. Fixes #19. 2013-03-27 16:57:05 +01:00
importer.py Fix handling of fallback to optparse.OptionParser 2015-09-10 20:45:03 +08:00
management.py Added configurations.management.call_command. Fix #72. 2015-01-06 21:38:08 +01:00
utils.py Merge remote-tracking branch 'benjaminabel/master' 2015-02-13 18:12:56 +01:00
values.py Only run __init__ in __new__ when late binding is enabled. 2015-03-16 21:19:40 +01:00
wsgi.py Initial version. 2012-07-21 15:56:04 +02:00