Commits

Anonymous committed 82d9426

[1.0.X] We don't need to put the 'final' bit in the version number, and it messes up some pypi stuff. Backport of [11358] from trunk.

Comments (0)

Files changed (1)

django/__init__.py

     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':