Kaydet (Commit) 0b16c132 authored tarafından Tim Graham's avatar Tim Graham

Simplified get_version() in django/__init__.py

Thanks Luke Plant for the report.
üst 80facd7a
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)
from django.utils.version import get_version
VERSION = (1, 8, 0, 'alpha', 0)
__version__ = get_version(VERSION)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment