Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (18 sloc) 0.588 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
VERSION = (2, 1, 0, 'rc2')
if VERSION[-1] != "final": # pragma: no cover
    __version__ = '.'.join(map(str, VERSION))
else: # pragma: no cover
    __version__ = '.'.join(map(str, VERSION[:-1]))


# patch settings
try:
    from django.conf import settings
    if 'cms' in settings.INSTALLED_APPS:
        from conf import patch_settings
        patch_settings()
except ImportError: # pragma: no cover
    """
This exception means that either the application is being built, or is
otherwise installed improperly. Both make running patch_settings
irrelevant.
"""
    pass
Something went wrong with that request. Please try again.