Some initial user model setup

This commit is contained in:
Maximilian Giller 2024-02-25 00:32:15 +01:00
parent 4328a76b93
commit d45f1f1f89
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,8 @@
from django.contrib.auth.models import User
from django.db import models
class UserInformation(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE, primary_key=True)
display_name = models.CharField(max_length=150, null=True)

View file