1. Rajeesh Nair
  2. Django-monitor
Issue #7 new

django 1.5 custom user integration

Anonymous created an issue

the code like this:

try:
    from django.contrib.auth import get_user_model
except ImportError:  # django < 1.5
    from django.contrib.auth.models import User
else:
    User = get_user_model()

might be solution

Comments (1)

  1. Log in to comment