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

Commit 121bf74

Browse files
committed
Merge pull request #8 from theskumar/patch-1
fix(docs): fix Keys name of `JWT_AUTH`
2 parents d8e32b2 + 981cd40 commit 121bf74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ There are some additional settings that you can override similar to how you'd do
6060

6161
```python
6262
JWT_AUTH = {
63-
'DEFAULT_JWT_ENCODE_HANDLER':
63+
'JWT_ENCODE_HANDLER':
6464
'rest_framework_jwt.utils.jwt_encode_handler',
6565

66-
'DEFAULT_JWT_DECODE_HANDLER':
66+
'JWT_DECODE_HANDLER':
6767
'rest_framework_jwt.utils.jwt_decode_handler',
6868

69-
'DEFAULT_JWT_PAYLOAD_HANDLER':
69+
'JWT_PAYLOAD_HANDLER':
7070
'rest_framework_jwt.utils.jwt_payload_handler',
7171

7272
'JWT_SECRET_KEY': settings.SECRET_KEY,
@@ -124,4 +124,4 @@ Default is `0` seconds.
124124
### JWT_EXPIRATION_DELTA
125125
This is an instance of Python's `datetime.timedelta`. This will be added to `datetime.utcnow()` to set the expiration time.
126126

127-
Default is `datetime.timedelta(seconds=300)`(5 minutes).
127+
Default is `datetime.timedelta(seconds=300)`(5 minutes).

0 commit comments

Comments
 (0)