Fixed #8516: Corrected typos in UK localflavor documentation
[django.git] / django / __init__.py
blob44d7f285d22dd85293635f1e1cfc5d25a2ef3b9a
1 VERSION = (1, 0, 'beta_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