11 lines
232 B
Python
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
|