From 0b16c1322f71eaaa4a05572d48413b3068866e97 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 24 Nov 2014 07:02:29 -0500 Subject: [PATCH] Simplified get_version() in django/__init__.py Thanks Luke Plant for the report. --- django/__init__.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/django/__init__.py b/django/__init__.py index 4430fec2c0..9dcb986397 100644 --- a/django/__init__.py +++ b/django/__init__.py @@ -1,12 +1,7 @@ +from django.utils.version import get_version + VERSION = (1, 8, 0, 'alpha', 0) - -def get_version(*args, **kwargs): - # Avoid circular import - from django.utils.version import get_version - return get_version(*args, **kwargs) - - __version__ = get_version(VERSION)