Commit 9f378d0d by Jonas Liljestrand

fixed bug

parent 8eb4bb80
...@@ -36,7 +36,7 @@ if django.VERSION >= (1, 5): ...@@ -36,7 +36,7 @@ if django.VERSION >= (1, 5):
from django.contrib.auth.models import User from django.contrib.auth.models import User
else: else:
try: try:
from django.db.models.auth import User from django.contrib.auth.models import User
except ImportError: except ImportError:
raise ImportError('User model is not to be found.') raise ImportError('User model is not to be found.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment