2019-01-23 00:38:09 +00:00
|
|
|
from django.contrib.auth.models import AbstractUser
|
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
class CustomUser(AbstractUser):
|
2019-02-16 20:11:37 +00:00
|
|
|
"""
|
|
|
|
Custom user model to allow for new fields if necessary.
|
|
|
|
"""
|
2019-01-23 00:38:09 +00:00
|
|
|
age = models.PositiveIntegerField(null=True, blank=True)
|