Fixed #8867: Corrected a couple typos in the signals documentation
[django.git] / django / __init__.py
blob9e9e6f2dba2ead798f217c06bba11b1346dc046c
1 VERSION = (1, 0, 'final')
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