How to set admin.py after customizing model using abstractbaseuser code example Example: import abstractuser from django.contrib.auth.models import AbstractUser