mirror of
https://github.com/django/django.git
synced 2025-09-15 06:55:32 +00:00

Moved everything except VERSION and a get_version() stub out of the top-level __init__.py, so that we're not importing all that stuff all the time. And because it's cleaner.
7 lines
269 B
Python
7 lines
269 B
Python
VERSION = (1, 5, 0, 'alpha', 0)
|
|
|
|
def get_version(*args, **kwargs):
|
|
# Don't litter django/__init__.py with all the get_version stuff.
|
|
# Only import if it's actually called.
|
|
from django.utils.version import get_version
|
|
return get_version(*args, **kwargs)
|