geriou-bir/users/models.py
2023-09-10 17:32:07 +02:00

8 lines
166 B
Python

from django.db import models
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
def __str__(self):
return f"{self.username}"