Skip to content

Commit

Permalink
Update childadmin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuamaxwell authored and vdboor committed Nov 18, 2021
1 parent ad7bff9 commit ec31670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polymorphic/admin/childadmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_form(self, request, obj=None, **kwargs):
return super(PolymorphicChildModelAdmin, self).get_form(request, obj, **kwargs)

def get_model_perms(self, request):
match = resolve(request.path)
match = resolve(request.path_info)

if (
not self.show_in_index
Expand Down

0 comments on commit ec31670

Please sign in to comment.