Skip to content

Commit ec31670

Browse files
joshuamaxwellvdboor
authored andcommitted
Update childadmin.py
1 parent ad7bff9 commit ec31670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polymorphic/admin/childadmin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_form(self, request, obj=None, **kwargs):
7171
return super(PolymorphicChildModelAdmin, self).get_form(request, obj, **kwargs)
7272

7373
def get_model_perms(self, request):
74-
match = resolve(request.path)
74+
match = resolve(request.path_info)
7575

7676
if (
7777
not self.show_in_index

0 commit comments

Comments
 (0)