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

Commit a84f7ca

Browse files
committed
Use latest released version of PyJWT
1 parent 7bfd77c commit a84f7ca

File tree

4 files changed

+4
-195
lines changed

4 files changed

+4
-195
lines changed

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
Django>=1.3
2-
djangorestframework>=2.3.10
2+
djangorestframework>=2.3.10
3+
PyJWT>=0.1.8

rest_framework_jwt/authentication.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
import jwt
12
from rest_framework import exceptions
23
from rest_framework.authentication import (BaseAuthentication,
34
get_authorization_header)
4-
55
from rest_framework_jwt.settings import api_settings
6-
from rest_framework_jwt import jwt
76

87
try:
98
from django.contrib.auth import get_user_model

rest_framework_jwt/jwt.py

Lines changed: 0 additions & 191 deletions
This file was deleted.

rest_framework_jwt/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import datetime
2+
import jwt
23

34
from rest_framework_jwt.settings import api_settings
4-
from rest_framework_jwt import jwt
55

66

77
def jwt_payload_handler(user):

0 commit comments

Comments
 (0)