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:
parent
fde2cb50ac
commit
fd00f02ce0
@ -1 +1 @@
|
|||||||
VERSION = (0, 9, 1, 'magic-removal')
|
VERSION = (0, 91, 'magic-removal')
|
||||||
|
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user