Loading django/__init__.py +4 −2 Original line number Diff line number Diff line Loading @@ -2,12 +2,14 @@ VERSION = (1, 8, 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. # Avoid circular import from django.utils.version import get_version return get_version(*args, **kwargs) __version__ = get_version(VERSION) def setup(): """ Configure the settings (this happens as a side effect of accessing the Loading Loading
django/__init__.py +4 −2 Original line number Diff line number Diff line Loading @@ -2,12 +2,14 @@ VERSION = (1, 8, 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. # Avoid circular import from django.utils.version import get_version return get_version(*args, **kwargs) __version__ = get_version(VERSION) def setup(): """ Configure the settings (this happens as a side effect of accessing the Loading