Commits

Emanuel Steen  committed 9ac341a

Use django-registrations version as fallback not Django's

  • Participants
  • Parent commits fe5b621

Comments (0)

Files changed (1)

File registration/__init__.py

 def get_version(version=None):
     "Returns a PEP 386-compliant version number from VERSION."
     if version is None:
-        from django import VERSION as version
+        version = VERSION
     else:
         assert len(version) == 5
         assert version[3] in ('alpha', 'beta', 'rc', 'final')