fix request.path_info
This commit is contained in:
1 parent
ad4e6e90c8
commit
12d487d703
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user