Backend/real_estate_search/users/models.py

14 lines
425 B
Python
Raw Normal View History

2023-02-18 17:44:52 +03:00
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