You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LogEntry.changes_str is not able to handle the dictionary obtained when using Many-to-Many (m2m) fields. It expects the values part to always be a list. When using m2m fields values is a dictionary in the form of {'type': 'm2m', 'operation': 'some_action', 'objects': [...]}.
LogEntry.changes_str
is not able to handle the dictionary obtained when using Many-to-Many (m2m) fields. It expects the values part to always be a list. When using m2m fields values is a dictionary in the form of{'type': 'm2m', 'operation': 'some_action', 'objects': [...]}
.The error raised is an
KeyError
when trying to accessvalues[0]
in line https://github.com/jazzband/django-auditlog/blob/9e987169da37930092417c35f5a7ae1ae11ca623/auditlog/models.py#L416C21-L416C30The text was updated successfully, but these errors were encountered: