Some initial user model setup
This commit is contained in:
parent
4c1a8be6af
commit
e33ed56963
2 changed files with 8 additions and 0 deletions
8
mixr_api/user/models/user_information.py
Normal file
8
mixr_api/user/models/user_information.py
Normal 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)
|
0
mixr_api/user/models/user_services.py
Normal file
0
mixr_api/user/models/user_services.py
Normal file
Loading…
Reference in a new issue