Skip to content

Commit

Permalink
Add default value for Application.post_logout_redirect_uris (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonial committed Sep 22, 2023
1 parent 6bca431 commit 1eca949
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name="application",
name="post_logout_redirect_uris",
field=models.TextField(blank=True, help_text="Allowed Post Logout URIs list, space separated"),
field=models.TextField(blank=True, help_text="Allowed Post Logout URIs list, space separated", default=""),
),
]
1 change: 1 addition & 0 deletions oauth2_provider/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ class AbstractApplication(models.Model):
post_logout_redirect_uris = models.TextField(
blank=True,
help_text=_("Allowed Post Logout URIs list, space separated"),
default="",
)
client_type = models.CharField(max_length=32, choices=CLIENT_TYPES)
authorization_grant_type = models.CharField(max_length=32, choices=GRANT_TYPES)
Expand Down

0 comments on commit 1eca949

Please sign in to comment.