File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 12
12
from six .moves import range
13
13
14
14
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
16
16
else :
17
17
from django .utils .encoding import force_str
18
18
Original file line number Diff line number Diff line change 9
9
from django .urls import reverse
10
10
except ImportError :
11
11
# Django <= 1.9
12
- from django .urls import reverse
12
+ from django .core . urlresolvers import reverse
13
13
from django .template .defaultfilters import capfirst
14
14
import six
15
15
from django .utils .functional import lazy
Original file line number Diff line number Diff line change 9
9
try :
10
10
from django .urls import reverse
11
11
except ImportError :
12
- from django .urls import reverse
12
+ from django .core . urlresolvers import reverse
13
13
14
14
from nested_admin .tests .base import BaseNestedAdminTestCase
15
15
from .models import StackedGroup , StackedSection , StackedItem
Original file line number Diff line number Diff line change 7
7
from django .urls import reverse , NoReverseMatch
8
8
except ImportError :
9
9
# Django <= 1.9
10
- from django .urls import NoReverseMatch , reverse
10
+ from django .core . urlresolvers import reverse , NoReverseMatch
11
11
from django .http import HttpResponse , HttpResponseForbidden
12
12
13
13
You can’t perform that action at this time.
0 commit comments