From fd00f02ce03f09c4ea76a0a6ff3770ca406d7814 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 17 Mar 2006 05:04:14 +0000 Subject: [PATCH] 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 --- django/__init__.py | 2 +- django/core/management.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django/__init__.py b/django/__init__.py index c7f8addc7f..b07fe67c1b 100644 --- a/django/__init__.py +++ b/django/__init__.py @@ -1 +1 @@ -VERSION = (0, 9, 1, 'magic-removal') +VERSION = (0, 91, 'magic-removal') diff --git a/django/core/management.py b/django/core/management.py index cf150fb78f..b5cd7e5082 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -56,8 +56,8 @@ def get_version(): "Returns the version as a human-format string." from django import VERSION v = '.'.join([str(i) for i in VERSION[:-1]]) - if VERSION[3]: - v += ' (%s)' % VERSION[3] + if VERSION[-1]: + v += ' (%s)' % VERSION[-1] return v def get_sql_create(app):