backend/pitch_deck_generator/users/models.py

14 lines
427 B
Python
Raw Permalink Normal View History

2023-08-26 01:17:47 +03:00
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
"""
Default custom user model for Pitch Deck Generator.
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