VERSION = (0, 9, 0, 'beta', 1)


def get_version():
    from django.utils.version import get_version as django_get_version
    return django_get_version(VERSION) # pragma: no cover

VERSION = (0, 9, 0, 'beta', 1)


def get_version():
    try:
        from django.utils.version import get_version as django_get_version
        return django_get_version(VERSION) # pragma: no cover
    except ImportError:
        return ".".join(str(n) for n in VERSION)

Fix dependency order issue in get_version