Skip to content

Commit

Permalink
Use correct get_user_model
Browse files Browse the repository at this point in the history
That bug was introduced in 869944d and caused tests to fail with Django
1.4.
  • Loading branch information
maiksprenger committed Sep 6, 2013
1 parent 85daa6c commit 8877b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oscar/apps/customer/mixins.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from django.conf import settings
from django.contrib.auth import (authenticate, get_user_model,
login as auth_login)
from django.contrib.auth import authenticate, login as auth_login
from django.contrib.sites.models import get_current_site
from django.db.models import get_model
from oscar.apps.customer.signals import user_registered
from oscar.core.loading import get_class
from oscar.core.compat import get_user_model

User = get_user_model()
CommunicationEventType = get_model('customer', 'CommunicationEventType')
Expand Down

0 comments on commit 8877b32

Please sign in to comment.