Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Commit 0de3200

Browse files
committed
Update index.md
1 parent 67cbcb1 commit 0de3200

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ It is recommended to use `BaseJSONWebTokenAuthentication`, a new base class with
253253

254254
Sometimes you may want to manually generate a token, for example to return a token to the user immediately after account creation. You can do this as follows:
255255

256-
`from rest_framework_jwt.settings import api_settings`
257-
258256
```python
257+
from rest_framework_jwt.settings import api_settings
258+
259259
jwt_payload_handler = api_settings.JWT_PAYLOAD_HANDLER
260260
jwt_encode_handler = api_settings.JWT_ENCODE_HANDLER
261261

0 commit comments

Comments
 (0)