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):
|
2023-05-18 10:03:47 +09:00
|
|
|
nickname = models.CharField(max_length=10)
|
2023-05-01 16:20:39 +09:00
|
|
|
|
|
|
|
# remove unnecessary fields
|
|
|
|
first_name = None
|
|
|
|
last_name = None
|