fix request.path_info

This commit is contained in:
2020-07-23 20:40:17 +02:00
parent ad4e6e90c8
commit 12d487d703
+1 -1
View File
@@ -71,7 +71,7 @@ class PolymorphicChildModelAdmin(admin.ModelAdmin):
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