mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +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
|
# These options could affect the commands that are available, so they
|
||||||
# must be processed early.
|
# must be processed early.
|
||||||
parser = LaxOptionParser(usage="%prog subcommand [options] [args]",
|
parser = LaxOptionParser(usage="%prog subcommand [options] [args]",
|
||||||
version=get_version(),
|
version=django.get_version(),
|
||||||
option_list=BaseCommand.option_list)
|
option_list=BaseCommand.option_list)
|
||||||
try:
|
try:
|
||||||
options, args = parser.parse_args(self.argv)
|
options, args = parser.parse_args(self.argv)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user