mirror of
https://github.com/django/django.git
synced 2025-03-10 09:22:46 +00:00
Fix a regression introduced by f011b90363.
`django.get_version` was actually used by the module.
This commit is contained in:
parent
f011b90363
commit
fed2877cf1
@ -321,7 +321,7 @@ class ManagementUtility(object):
|
||||
# These options could affect the commands that are available, so they
|
||||
# must be processed early.
|
||||
parser = LaxOptionParser(usage="%prog subcommand [options] [args]",
|
||||
version=get_version(),
|
||||
version=django.get_version(),
|
||||
option_list=BaseCommand.option_list)
|
||||
try:
|
||||
options, args = parser.parse_args(self.argv)
|
||||
|
Loading…
x
Reference in New Issue
Block a user