# -*- coding: utf-8 -*-
"""
coop_cms is a Content Management System for Django
"""

from django.conf import settings
if 'localeurl' in settings.INSTALLED_APPS:
    from localeurl.models import patch_reverse
    patch_reverse()


VERSION = (1, 0, 10)


def get_version():
    """returns version number"""
    version = '%s.%s.%s' % (VERSION[0], VERSION[1], VERSION[2])
    return version

__version__ = get_version()

# -*- coding: utf-8 -*-
"""
coop_cms is a Content Management System for Django
"""

try:
    from localeurl.models import patch_reverse
    patch_reverse()
except ImportError:
    pass

VERSION = (1, 0, 10)


def get_version():
    """returns version number"""
    version = '%s.%s.%s' % (VERSION[0], VERSION[1], VERSION[2])
    return version

__version__ = get_version()

Fix install