mixr-api/mixr_api/user/models/user_information.py

9 lines
258 B
Python
Raw Normal View History

2024-02-25 00:32:15 +01:00
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)