HiPhone_BE/user/models.py

11 lines
232 B
Python
Raw Normal View History

2023-05-01 16:20:39 +09:00
from django.contrib.auth.models import AbstractUser
2023-05-01 15:04:54 +09:00
from django.db import models
2023-05-01 16:20:39 +09:00
class User(AbstractUser):
nickname = models.CharField(max_length=50)
# remove unnecessary fields
first_name = None
last_name = None