njpma/app/user/models.py
2021-09-28 15:10:22 +02:00

10 lines
283 B
Python

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)