Skip to content

Commit b10bee6

Browse files
committed
removed the changes which were not required
1 parent e65dd60 commit b10bee6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

nested_admin/formsets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from six.moves import range
1313

1414
if six.PY2:
15-
from django.utils.encoding import force_str as force_str
15+
from django.utils.encoding import force_text as force_str
1616
else:
1717
from django.utils.encoding import force_str
1818

nested_admin/nested.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from django.urls import reverse
1010
except ImportError:
1111
# Django <= 1.9
12-
from django.urls import reverse
12+
from django.core.urlresolvers import reverse
1313
from django.template.defaultfilters import capfirst
1414
import six
1515
from django.utils.functional import lazy

nested_admin/tests/two_deep/test_permissions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
try:
1010
from django.urls import reverse
1111
except ImportError:
12-
from django.urls import reverse
12+
from django.core.urlresolvers import reverse
1313

1414
from nested_admin.tests.base import BaseNestedAdminTestCase
1515
from .models import StackedGroup, StackedSection, StackedItem

nested_admin/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from django.urls import reverse, NoReverseMatch
88
except ImportError:
99
# Django <= 1.9
10-
from django.urls import NoReverseMatch, reverse
10+
from django.core.urlresolvers import reverse, NoReverseMatch
1111
from django.http import HttpResponse, HttpResponseForbidden
1212

1313

0 commit comments

Comments
 (0)