HiPhone_BE/user/models.py
2023-05-01 20:28:54 +09:00

11 lines
232 B
Python

from django.contrib.auth.models import AbstractUser
from django.db import models
class User(AbstractUser):
nickname = models.CharField(max_length=50)
# remove unnecessary fields
first_name = None
last_name = None