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

Commit d4ff802

Browse files
committed
Fix missing smart_text from DRF compat.py #52
1 parent 28ba02a commit d4ff802

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rest_framework_jwt/authentication.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import jwt
22

3+
from django.utils.encoding import smart_text
34
from rest_framework import exceptions
4-
from rest_framework.compat import smart_text
5+
from rest_framework_jwt.settings import api_settings
56
from rest_framework.authentication import (BaseAuthentication,
67
get_authorization_header)
78

8-
from rest_framework_jwt.settings import api_settings
9-
109
try:
1110
from django.contrib.auth import get_user_model
1211
except ImportError: # Django < 1.5

0 commit comments

Comments
 (0)