get_user_model django 2.0 code example Example: import abstractuser from django.contrib.auth.models import AbstractUser