django change user model code example
Example 1: import abstractuser
from django.contrib.auth.models import AbstractUser
Example 2: django customize the user model
from django.contrib.auth.models import User
class Employee(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
department = models.CharField(max_length=100)