Backend/real_estate_search/users/models.py

14 lines
425 B
Python

from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
"""
Default custom user model for real estate search.
If adding fields that need to be filled at user signup,
check forms.SignupForm and forms.SocialSignupForms accordingly.
"""
#: First and last name do not cover name patterns around the globe
first_name = None # type: ignore
last_name = None # type: ignore