File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,10 @@ module)::
3737Then you need to tell Django OAuth Toolkit which model you want to use to represent applications.
3838Write something like this in your settings module::
3939
40- OAUTH2_PROVIDER = {
41- 'APPLICATION_MODEL': 'your_app_name.MyApplication',
42- }
40+ OAUTH2_PROVIDER_APPLICATION_MODEL='your_app_name.MyApplication'
41+
4342That's all, now Django OAuth Toolkit will use your model wherever an Application instance is needed.
43+
44+ **Notice: ** `OAUTH2_PROVIDER_APPLICATION_MODEL ` is the only setting variable that is not namespaced, this
45+ is because of the way Django currently implements swappable models.
46+ See issue #90 (https://github.com/evonove/django-oauth-toolkit/issues/90) for details
You can’t perform that action at this time.
0 commit comments