diff --git a/django/__init__.py b/django/__init__.py index 7d05f7073e..3721524617 100644 --- a/django/__init__.py +++ b/django/__init__.py @@ -7,9 +7,8 @@ def get_version(): if VERSION[3:] == ('alpha', 0): version = '%s pre-alpha' % version else: - version = '%s %s' % (version, VERSION[3]) if VERSION[3] != 'final': - version = '%s %s' % (version, VERSION[4]) + version = '%s %s %s' % (version, VERSION[3], VERSION[4]) from django.utils.version import get_svn_revision svn_rev = get_svn_revision() if svn_rev != u'SVN-unknown':