from django.utils.version import get_version as django_get_version


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


def get_version():
    return django_get_version(VERSION) # pragma: no cover

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

Move import of Django's get_version into django-registration's get_version, to avoid dependency-order problems.