We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0afc12 commit d6b5743Copy full SHA for d6b5743
rest_framework_sso/utils.py
@@ -1,12 +1,14 @@
1
# coding: utf-8
2
from __future__ import absolute_import, unicode_literals
3
4
+import six
5
+import jwt
6
+
7
from datetime import datetime
8
-import jwt
9
from django.contrib.auth import get_user_model
10
from django.core.serializers.json import DjangoJSONEncoder
-from django.utils import six, timezone
11
+from django.utils import timezone
12
from django.utils.translation import gettext_lazy as _
13
from jwt.exceptions import MissingRequiredClaimError, InvalidIssuerError, InvalidTokenError
14
from rest_framework import exceptions
0 commit comments