class SubSectionAdmin(admin.ModelAdmin): # ... def change_view(self, request, object_id, extra_context=None): self.exclude = ('field', ) return super(SubSectionAdmin, self).change_view(request, object_id, extra_context)
class SubSectionAdmin(admin.ModelAdmin): # ... def change_view(self, request, object_id, extra_context=None): self.exclude = ('field', ) return super(SubSectionAdmin, self).change_view(request, object_id, extra_context)