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
1 changed files with 1 additions and 1 deletions

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)