from django.contrib.auth.models import User from django.db import models class CasUser(models.Model): """Describes a Django user that was created through CAS""" user = models.OneToOneField(User, on_delete=models.CASCADE, primary_key=True)