summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2014-05-27 18:23:44 -0400
committerSimon Charette <charette.s@gmail.com>2014-05-27 18:23:44 -0400
commitfed2877cf1307eb9c3ef36787fe96a51526db17e (patch)
tree46c511fe95bcd072954c59ba811381e074d2f4d5
parentf011b903630b3167dc960829ec8c4cb5d46c2b94 (diff)
Fix a regression introduced by f011b90363.
`django.get_version` was actually used by the module.
-rw-r--r--django/core/management/__init__.py2
1 files changed, 1 insertions, 1 deletions
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)