mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-10 10:22:20 +01:00
Change player to OAuth protocol
This commit is contained in:
27
marietje/queues/migrations/0012_queue_oauth_client.py
Normal file
27
marietje/queues/migrations/0012_queue_oauth_client.py
Normal file
@ -0,0 +1,27 @@
|
||||
# Generated by Django 4.2.6 on 2023-11-05 14:33
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.OAUTH2_PROVIDER_APPLICATION_MODEL),
|
||||
("queues", "0011_alter_playlistsong_playlist"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="queue",
|
||||
name="oauth_client",
|
||||
field=models.ForeignKey(
|
||||
blank=True,
|
||||
help_text="The OAuth2 client that may read and write commands for this Queue.",
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.SET_NULL,
|
||||
related_name="queues",
|
||||
to=settings.OAUTH2_PROVIDER_APPLICATION_MODEL,
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user