2017-10-14 19:36:13 +02:00
|
|
|
from django.contrib.auth.models import User
|
2024-10-23 11:06:57 +02:00
|
|
|
from django.db import models
|
2017-10-14 19:36:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
class CasUser(models.Model):
|
2024-10-23 11:06:57 +02:00
|
|
|
"""Describes a Django user that was created through CAS"""
|
2017-10-14 19:36:13 +02:00
|
|
|
|
2024-10-23 11:06:57 +02:00
|
|
|
user = models.OneToOneField(User, on_delete=models.CASCADE, primary_key=True)
|