diff --git a/django/__init__.py b/django/__init__.py index c7f8addc7f..b07fe67c1b 100644 --- a/django/__init__.py +++ b/django/__init__.py @@ -1 +1 @@ -VERSION = (0, 9, 1, 'magic-removal') +VERSION = (0, 91, 'magic-removal') diff --git a/django/core/management.py b/django/core/management.py index cf150fb78f..b5cd7e5082 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -56,8 +56,8 @@ def get_version(): "Returns the version as a human-format string." from django import VERSION v = '.'.join([str(i) for i in VERSION[:-1]]) - if VERSION[3]: - v += ' (%s)' % VERSION[3] + if VERSION[-1]: + v += ' (%s)' % VERSION[-1] return v def get_sql_create(app):