16 lines
476 B
Python
16 lines
476 B
Python
from __future__ import annotations
|
|
|
|
from django.contrib.auth.models import AbstractUser
|
|
|
|
|
|
class User(AbstractUser):
|
|
"""Custom User model extending Django's AbstractUser.
|
|
|
|
This allows for future customization of the User model
|
|
while maintaining all the default Django User functionality.
|
|
"""
|
|
|
|
class Meta:
|
|
db_table = "auth_user" # Keep the same table name as Django's default User
|
|
verbose_name = "User"
|
|
verbose_name_plural = "Users"
|