mirror of
https://github.com/django/django.git
synced 2024-12-25 10:35:48 +00:00
5b644a5464
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.
8 lines
269 B
Python
8 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)
|