njpma/app/user/models.py

11 lines
283 B
Python
Raw Normal View History

2021-09-28 13:10:22 +00:00
import logging
from django.db import models
from django.contrib.auth.models import AbstractUser
logger = logging.getLogger(__name__)
class User(AbstractUser):
modified = models.DateTimeField(auto_now=True)
data = models.JSONField(default=dict, blank=True, editable=False)