-
Notifications
You must be signed in to change notification settings - Fork 651
Provide request
to contrib.auth.authenticate in JSONWebTokenSerializer
#388
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #388 +/- ##
=========================================
+ Coverage 90.67% 90.7% +0.03%
=========================================
Files 14 14
Lines 847 850 +3
Branches 29 30 +1
=========================================
+ Hits 768 771 +3
Misses 66 66
Partials 13 13
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #388 +/- ##
=========================================
+ Coverage 90.67% 90.7% +0.03%
=========================================
Files 14 14
Lines 847 850 +3
Branches 29 30 +1
=========================================
+ Hits 768 771 +3
Misses 66 66
Partials 13 13
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #388 +/- ##
=========================================
+ Coverage 90.67% 90.7% +0.03%
=========================================
Files 14 14
Lines 847 850 +3
Branches 29 30 +1
=========================================
+ Hits 768 771 +3
Misses 66 66
Partials 13 13
Continue to review full report at Codecov.
|
rest_framework_jwt/serializers.py
Outdated
@@ -3,6 +3,7 @@ | |||
from calendar import timegm | |||
from datetime import datetime, timedelta | |||
|
|||
from django import __version__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better just import django
and then use if django.VERSION >= (1, 11)
edeedd7
to
ef75421
Compare
refs #387