From cb63ad32c3d0efd44a8a7de6d10a04188b28218b Mon Sep 17 00:00:00 2001 From: Barthelemy Dagenais Date: Tue, 8 Dec 2015 13:46:28 -0500 Subject: [PATCH] added missing swappable migration option to prevent the creation of the swappable model if alternative model is provided. --- oauth2_provider/migrations/0001_initial.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oauth2_provider/migrations/0001_initial.py b/oauth2_provider/migrations/0001_initial.py index bb1b51842..a1c59c709 100644 --- a/oauth2_provider/migrations/0001_initial.py +++ b/oauth2_provider/migrations/0001_initial.py @@ -30,6 +30,7 @@ class Migration(migrations.Migration): ], options={ 'abstract': False, + 'swappable': 'OAUTH2_PROVIDER_APPLICATION_MODEL', }, ), migrations.CreateModel(