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

Commit 2937924

Browse files
committed
Flake8 Fix
Added comment and fixed flake8 issue of missing blank line
1 parent 89214b7 commit 2937924

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rest_framework_jwt/compat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
class PasswordField(CharField):
1010
widget = widgets.PasswordInput
1111
else:
12+
# Mid-file import to potentially prevent issues occuring for DRF pre 3.0.0
1213
import rest_framework.serializers
14+
1315
class Serializer(rest_framework.serializers.Serializer):
1416
@property
1517
def object(self):

0 commit comments

Comments
 (0)