aaf5b3e7aa
In get_commands, setup() might already have been called, for example when the management command is called through call_command. Moving setup() to ManagementUtility so as it is only called when the command is run from command line. |
||
---|---|---|
.. | ||
apps | ||
bin | ||
conf | ||
contrib | ||
core | ||
db | ||
dispatch | ||
forms | ||
http | ||
middleware | ||
template | ||
templatetags | ||
test | ||
utils | ||
views | ||
__init__.py | ||
shortcuts.py |