Changed output of django-admin.py --version to use a hyphen instead of parenthesis, to be clearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
16bdaa7acb
commit
aaa3cc0ea3
|
@ -78,7 +78,7 @@ def get_version():
|
||||||
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[-1]:
|
if VERSION[-1]:
|
||||||
v += ' (%s)' % VERSION[-1]
|
v += '-' + VERSION[-1]
|
||||||
return v
|
return v
|
||||||
|
|
||||||
def get_sql_create(app):
|
def get_sql_create(app):
|
||||||
|
|
Loading…
Reference in New Issue