Skip to content

Commit

Permalink
Fix a regression introduced by f011b90.
Browse files Browse the repository at this point in the history
`django.get_version` was actually used by the module.
  • Loading branch information
charettes committed May 27, 2014
1 parent f011b90 commit fed2877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/core/management/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def execute(self):
# 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)
Expand Down

1 comment on commit fed2877

@claudep
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was definitely not in a good day. Thanks again.

Please sign in to comment.