Skip to content

Commit 5a71cdc

Browse files
committed
Add a settings base page in docs
1 parent 67f3bb0 commit 5a71cdc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/settings.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Settings
2+
========
3+
4+
Our configurations are all namespaced under the `OAUTH2_PROVIDER` settings (yes, like Django REST Framework ;) thanks guys!).
5+
6+
For example:
7+
8+
.. code-block:: python
9+
10+
OAUTH2_PROVIDER = {
11+
'SCOPES': {
12+
'read': 'Read scope',
13+
'write': 'Write scope',
14+
},
15+
16+
'CLIENT_ID_GENERATOR_CLASS': 'oauth2_provider.generators.ClientIdGenerator',
17+
18+
}
19+
20+
21+
Reference
22+
=========
23+
24+
TODO: add reference documentation for DOT settings

0 commit comments

Comments
 (0)