Skip to content

Commit

Permalink
Update django-oauth-toolkit to major version 3 (#4941)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend authored Sep 17, 2024
1 parent 2ce799d commit 33fa4b3
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 4.2.11 on 2024-09-17 07:26

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('api', '0069_alter_contentsource_source_identifier'),
]

operations = [
migrations.AddField(
model_name='throttledapplication',
name='allowed_origins',
field=models.TextField(blank=True, default='', help_text='Allowed origins list to enable CORS, space separated'),
),
migrations.AddField(
model_name='throttledapplication',
name='hash_client_secret',
field=models.BooleanField(default=True),
),
migrations.AlterField(
model_name='throttledapplication',
name='post_logout_redirect_uris',
field=models.TextField(blank=True, default='', help_text='Allowed Post Logout URIs list, space separated'),
),
]
2 changes: 1 addition & 1 deletion api/latest_migrations/api
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# If you have a merge conflict in this file, it means you need to run:
# manage.py makemigrations --merge
# in order to resolve the conflict between migrations.
0069_alter_contentsource_source_identifier
0070_throttledapplication_allowed_origins_and_more
2 changes: 1 addition & 1 deletion api/latest_migrations/oauth2_provider
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# If you have a merge conflict in this file, it means you need to run:
# manage.py makemigrations --merge
# in order to resolve the conflict between migrations.
0007_application_post_logout_redirect_uris
0012_add_token_checksum
15 changes: 8 additions & 7 deletions api/pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
"django-asgi-lifespan >=0.3.1, <0.4",
"django-cors-headers >=4.3.1, <5",
"django-migrations-git-conflicts >=1.0, <2",
"django-oauth-toolkit >=2.3.0, <3",
"django-oauth-toolkit >=3.0.1, <4",
"django-redis >=5.4.0, <6",
"django-split-settings >=1.2.0, <2",
"django-structlog >=8.0.0, <9",
Expand Down

0 comments on commit 33fa4b3

Please sign in to comment.