1 VERSION
= (1, 1, 0, 'alpha', 0)
4 version
= '%s.%s' % (VERSION
[0], VERSION
[1])
6 version
= '%s.%s' % (version
, VERSION
[2])
7 if VERSION
[3:] == ('alpha', 0):
8 version
= '%s pre-alpha' % version
10 version
= '%s %s' % (version
, VERSION
[3])
11 if VERSION
[3] != 'final':
12 version
= '%s %s' % (version
, VERSION
[4])
13 from django
.utils
.version
import get_svn_revision
14 svn_rev
= get_svn_revision()
15 if svn_rev
!= u
'SVN-unknown':
16 version
= "%s %s" % (version
, svn_rev
)