We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 911f7b8 commit ebe09b7Copy full SHA for ebe09b7
docs/advanced_topics.rst
@@ -43,6 +43,10 @@ Write something like this in your settings module::
43
44
OAUTH2_PROVIDER_APPLICATION_MODEL='your_app_name.MyApplication'
45
46
+Be aware that, when you intend to swap the application model, you should create and run the
47
+migration defining the swapped application model prior to setting OAUTH2_PROVIDER_APPLICATION_MODEL.
48
+You'll run into models.E022 in Core system checks if you don't get the order right.
49
+
50
That's all, now Django OAuth Toolkit will use your model wherever an Application instance is needed.
51
52
**Notice:** `OAUTH2_PROVIDER_APPLICATION_MODEL` is the only setting variable that is not namespaced, this
0 commit comments