mirror of
https://github.com/xhongc/music-tag-web.git
synced 2026-04-24 18:50:27 +08:00
8 lines
277 B
Python
8 lines
277 B
Python
from django.db import models
|
|
from django.contrib.auth.models import User
|
|
|
|
|
|
class UserProfile(models.Model):
|
|
user = models.OneToOneField(User, related_name="profile", on_delete=models.CASCADE)
|
|
subsonic_api_token = models.CharField(blank=True, null=True, max_length=255)
|