Commits

djm_  committed be7debb

Fix for registration.compat.get_user_model using incorrect exception class during handling: IOError -> ImportError.

  • Participants
  • Parent commits fb3d291

Comments (0)

Files changed (1)

File registration/compat.py

         # Django 1.5+
         from django.contrib.auth import get_user_model
         model = get_user_model()
-    except IOError:
+    except ImportError:
         # Django <= 1.4
         from django.contrib.auth.models import User
         model = User