forked from CGM_Public/pretix_original
Update django-oauth-toolkit requirement from ==2.2.* to ==2.3.* (#3882)
This commit is contained in:
@@ -49,7 +49,7 @@ dependencies = [
|
|||||||
"django-libsass==0.9",
|
"django-libsass==0.9",
|
||||||
"django-localflavor==4.0",
|
"django-localflavor==4.0",
|
||||||
"django-markup",
|
"django-markup",
|
||||||
"django-oauth-toolkit==2.2.*",
|
"django-oauth-toolkit==2.3.*",
|
||||||
"django-otp==1.2.*",
|
"django-otp==1.2.*",
|
||||||
"django-phonenumber-field==7.1.*",
|
"django-phonenumber-field==7.1.*",
|
||||||
"django-redis==5.4.*",
|
"django-redis==5.4.*",
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 4.2.10 on 2024-02-12 11:52
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("pretixapi", "0011_bigint"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name="oauthapplication",
|
||||||
|
name="post_logout_redirect_uris",
|
||||||
|
field=models.TextField(default=""),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -42,6 +42,11 @@ class OAuthApplication(AbstractApplication):
|
|||||||
verbose_name=_("Redirection URIs"),
|
verbose_name=_("Redirection URIs"),
|
||||||
help_text=_("Allowed URIs list, space separated")
|
help_text=_("Allowed URIs list, space separated")
|
||||||
)
|
)
|
||||||
|
post_logout_redirect_uris = models.TextField(
|
||||||
|
blank=True, validators=[URIValidator],
|
||||||
|
help_text=_("Allowed Post Logout URIs list, space separated"),
|
||||||
|
default="",
|
||||||
|
)
|
||||||
client_id = models.CharField(
|
client_id = models.CharField(
|
||||||
verbose_name=_("Client ID"),
|
verbose_name=_("Client ID"),
|
||||||
max_length=100, unique=True, default=generate_client_id, db_index=True
|
max_length=100, unique=True, default=generate_client_id, db_index=True
|
||||||
|
|||||||
Reference in New Issue
Block a user