ljg.sh/ljg/core/models/auth.py

8 lines
215 B
Python

from django.contrib.auth.models import User
from django.db import models
class OIDCUser(models.Model):
uuid = models.UUIDField(primary_key=True)
user = models.OneToOneField(User, on_delete=models.CASCADE)