Skip to content

Commit ade07ec

Browse files
committed
Update readme
1 parent d2c961a commit ade07ec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,7 @@ you can use the ``COGNITO_USER_MODEL`` setting.
7474
COGNITO_USER_MODEL = "myproject.AppUser"
7575
7676
The library by default uses id token. To use access token, add the following lines to your Django ``settings.py`` file:
77-
.. {'id', 'access'} Default: 'id'
78-
COGNITO_TOKEN_TYPE = 'access'
77+
78+
.. code-block:: python
79+
80+
COGNITO_TOKEN_TYPE = "access" # '{'id', 'access'} Default: 'id'

0 commit comments

Comments
 (0)