from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): nickname = models.CharField(max_length=50) # remove unnecessary fields first_name = None last_name = None