Skip to content

Commit a818764

Browse files
bartdagoutsbart
authored andcommitted
added missing swappable migration option to prevent the creation of the swappable model if alternative model is provided.
1 parent 970ccee commit a818764

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oauth2_provider/migrations/0001_initial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class Migration(migrations.Migration):
3030
],
3131
options={
3232
'abstract': False,
33+
'swappable': 'OAUTH2_PROVIDER_APPLICATION_MODEL',
3334
},
3435
),
3536
migrations.CreateModel(

0 commit comments

Comments
 (0)