Do you want to learn how to overwrite the user model in django? Welcome to the best play to learn it. We need to do this before executing any command that affects our database because if we do it later it will place an error. First step, create a new app with a common command: django-admin startproject user then add two lines on your settings.py. # Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',