I suggest that you use the AbstractUser model that django officially recommends.
from django.contrib.auth.models AbstractUser
class User(AbstractUser):
age : models.IntegerField(default=0)
is_student : models.BooleanField(default=False)
# extra profile information
Then also make sure in your settings file you point your auth model to this class
AUTH_USER_MODEL = ‘app_name.User’
This is the safest and easiest way build profiles. You can equally use the AbstractBaseUser model if you need some more flexibility, but for most use case, the AbstractUser model would do.
--
KeLLs