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

8 lines
215 B
Python
Raw Normal View History

2023-08-10 21:41:11 +02:00
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)