1
0
mirror of https://github.com/django/django.git synced 2025-07-05 10:19:20 +00:00

magic-removal: Changed django.VERSION to use two digits -- (0, 91) instead of (0, 9, 1)

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-03-17 05:04:14 +00:00
parent fde2cb50ac
commit fd00f02ce0
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
VERSION = (0, 9, 1, 'magic-removal') VERSION = (0, 91, 'magic-removal')

View File

@ -56,8 +56,8 @@ def get_version():
"Returns the version as a human-format string." "Returns the version as a human-format string."
from django import VERSION from django import VERSION
v = '.'.join([str(i) for i in VERSION[:-1]]) v = '.'.join([str(i) for i in VERSION[:-1]])
if VERSION[3]: if VERSION[-1]:
v += ' (%s)' % VERSION[3] v += ' (%s)' % VERSION[-1]
return v return v
def get_sql_create(app): def get_sql_create(app):