From fed2877cf1307eb9c3ef36787fe96a51526db17e Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Tue, 27 May 2014 18:23:44 -0400 Subject: [PATCH] Fix a regression introduced by f011b90363. `django.get_version` was actually used by the module. --- django/core/management/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index 4c3b0183e8..80356d374a 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -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)