mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	We don't need to put the 'final' bit in the version number, and it messes up some pypi stuff.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -7,9 +7,8 @@ def get_version(): | |||||||
|     if VERSION[3:] == ('alpha', 0): |     if VERSION[3:] == ('alpha', 0): | ||||||
|         version = '%s pre-alpha' % version |         version = '%s pre-alpha' % version | ||||||
|     else: |     else: | ||||||
|         version = '%s %s' % (version, VERSION[3]) |  | ||||||
|         if VERSION[3] != 'final': |         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 |     from django.utils.version import get_svn_revision | ||||||
|     svn_rev = get_svn_revision() |     svn_rev = get_svn_revision() | ||||||
|     if svn_rev != u'SVN-unknown': |     if svn_rev != u'SVN-unknown': | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user