Skip to content

Commit 62e2a97

Browse files
committed
Fixed import order settings
1 parent dab6bf4 commit 62e2a97

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rest_framework/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
REST framework settings, checking for user settings first, then falling
1818
back to the defaults.
1919
"""
20-
import warnings
2120
from __future__ import unicode_literals
21+
import warnings
2222

2323
from django.conf import settings
2424
from django.test.signals import setting_changed

tests/test_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from __future__ import unicode_literals
2+
import warnings
23

34
from django.test import TestCase
45

0 commit comments

Comments
 (0)