Skip to content

Commit d6b5743

Browse files
author
TheLazzziest
committed
Replace django six with the python one.
1 parent c0afc12 commit d6b5743

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rest_framework_sso/utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# coding: utf-8
22
from __future__ import absolute_import, unicode_literals
33

4+
import six
5+
import jwt
6+
47
from datetime import datetime
58

6-
import jwt
79
from django.contrib.auth import get_user_model
810
from django.core.serializers.json import DjangoJSONEncoder
9-
from django.utils import six, timezone
11+
from django.utils import timezone
1012
from django.utils.translation import gettext_lazy as _
1113
from jwt.exceptions import MissingRequiredClaimError, InvalidIssuerError, InvalidTokenError
1214
from rest_framework import exceptions

0 commit comments

Comments
 (0)