I\'m using a custom user model, extended with AbstractUser. Here\'s my models.py:
# -*- coding: utf-8 -*- from __future__ import unicode_literals from d
it's an import issue: try changing the order of the imports: try: from django.contrib.auth.models import AbstractUser then: from django.db import models
from django.contrib.auth.models import AbstractUser
from django.db import models