diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-01-02 20:43:45 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-01-02 20:47:40 +0100 |
| commit | aaf5b3e7aad6fc8250143655854cc03c3b0a68c8 (patch) | |
| tree | 39d45badbbd9f59cd5ebe1ef80b7f7ae1013ee67 /docs/ref | |
| parent | 7f110e7959a11608ba2714e563d67b2cdf61049c (diff) | |
Moved django.setup() to ManagementUtility
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.
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions
