I have a tabular inline model in the Django admin. I need 1 of the fields to not be changeable after it has been created, but setting it as readonly (via readonly_fields) wh
You can achieve this with only a single inline like so:
class MyInline(admin.TabularInline): fields = [...] extra = 0 def has_change_permission(self, request, obj): return False