mirror of
https://github.com/django/django.git
synced 2025-04-28 11:14:44 +00:00
Django version number. Thanks, James Wheare. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
9 lines
210 B
Python
9 lines
210 B
Python
VERSION = (0, 97, 'pre')
|
|
|
|
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
|