Open scottgigante opened 5 months ago
@scottgigante did you ever figure this out?
Unfortunately I did not -- I haven't been able to reproduce it.
For me it happened when i used readonly inlines and changed the non-inline object:
class ReadOnlyNestedTabularInline(NestedTabularInline):
extra = 0
def has_add_permission(self, request, obj=None):
return False
def has_delete_permission(self, request, obj=None):
return False
def has_change_permission(self, request, obj=None):
return False
And a custom pk field in the inline model:
class Destination(TimeStampedModel):
uuid = models.UUIDField(primary_key=True)
nested_admin.formsets.save_existing_objects seems to be accessing a field that sometimes does not exist. I'm not quite sure how to generate a MRE here, but this is the traceback from my app logs.