Fixed #21770 -- Updated autocomplete for app-loading.
Thanks dfunckt for the report.
This commit is contained in:
parent
d562527a16
commit
0a7588dd3f
|
@ -376,7 +376,6 @@ class ManagementUtility(object):
|
|||
parser = LaxOptionParser(usage="%prog subcommand [options] [args]",
|
||||
version=get_version(),
|
||||
option_list=BaseCommand.option_list)
|
||||
self.autocomplete()
|
||||
try:
|
||||
options, args = parser.parse_args(self.argv)
|
||||
handle_default_options(options)
|
||||
|
@ -391,6 +390,8 @@ class ManagementUtility(object):
|
|||
else:
|
||||
django.setup()
|
||||
|
||||
self.autocomplete()
|
||||
|
||||
try:
|
||||
subcommand = self.argv[1]
|
||||
except IndexError:
|
||||
|
|
Loading…
Reference in New Issue