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:
Adrian Holovaty 2006-07-27 17:03:35 +00:00
parent 16bdaa7acb
commit aaa3cc0ea3
1 changed files with 5 additions and 5 deletions

View File

@ -78,7 +78,7 @@ def get_version():
from django import VERSION
v = '.'.join([str(i) for i in VERSION[:-1]])
if VERSION[-1]:
v += ' (%s)' % VERSION[-1]
v += '-' + VERSION[-1]
return v
def get_sql_create(app):