Closed lthamm closed 1 year ago
interesting – this works with my setup (I have 2 hidden input fields at the end of div).
what exactly is that dict after h3?
closing this since no further details have been given. please reopen with additional information if you think this is a bug which still exists.
I stumbled over this one as well. If you include "id" in the readonly_fields of the inline, or if you have has_change_permission() return False, the dict gets shown. For me the solution is to just omit the "id" field
The "ID" field is always hidden, right? So this issue has nothing to do with readonly ... or do I miss something?
I am able to reproduce seeing the dict with adding an "ID" field to my inlines. I'm just trying to understand what exactly we're talking about.
Django version: 4.0 Grappelli 3.0.3
Problem: An admin.TabularInline has a readonly_field ("id"). This is rendered incorrectly. It works without grappelli and it used to work prior to Django 4.0.
Output: