fixed bug

This commit is contained in:
Jonas Liljestrand 2012-11-17 23:51:05 +01:00
parent 8eb4bb8090
commit 9f378d0dd4

View File

@ -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.')