1
0
mirror of https://github.com/django/django.git synced 2025-03-10 17:32:41 +00:00

Fix a regression introduced by f011b90363.

`django.get_version` was actually used by the module.
This commit is contained in:
Simon Charette 2014-05-27 18:23:44 -04:00
parent f011b90363
commit fed2877cf1

View File

@ -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)