Ticket #23442: 23442.diff

File 23442.diff, 600 bytes (added by Tim Graham, 10 years ago)
  • django/__init__.py

    diff --git a/django/__init__.py b/django/__init__.py
    index 7bb46b6..4430fec 100644
    a b VERSION = (1, 8, 0, 'alpha', 0)  
    22
    33
    44def get_version(*args, **kwargs):
    5     # Don't litter django/__init__.py with all the get_version stuff.
    6     # Only import if it's actually called.
     5    # Avoid circular import
    76    from django.utils.version import get_version
    87    return get_version(*args, **kwargs)
    98
    109
     10__version__ = get_version(VERSION)
     11
     12
    1113def setup():
    1214    """
    1315    Configure the settings (this happens as a side effect of accessing the
Back to Top