1
0
mirror of https://github.com/django/django.git synced 2025-10-28 16:16:12 +00:00
Files
django/django/__init__.py
2007-06-15 04:02:33 +00:00

9 lines
221 B
Python

VERSION = (0, 97, 'newforms-admin')
def get_version():
"Returns the version as a human-format string."
v = '.'.join([str(i) for i in VERSION[:-1]])
if VERSION[-1]:
v += '-' + VERSION[-1]
return v