mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Simplified get_version() in django/__init__.py
Thanks Luke Plant for the report.
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
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 = (1, 8, 0, 'alpha', 0)
|
||||
|
||||
__version__ = get_version(VERSION)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user