changeset 54 | 03e267d67478 |
child 323 | ff1a9aa48cfd |
53:57b4279d8c4e | 54:03e267d67478 |
---|---|
1 VERSION = (0, 97, 'pre') |
|
2 |
|
3 def get_version(): |
|
4 "Returns the version as a human-format string." |
|
5 v = '.'.join([str(i) for i in VERSION[:-1]]) |
|
6 if VERSION[-1]: |
|
7 from django.utils.version import get_svn_revision |
|
8 v = '%s-%s-%s' % (v, VERSION[-1], get_svn_revision()) |
|
9 return v |