django-auditlog icon indicating copy to clipboard operation
django-auditlog copied to clipboard

KeyError in changes_display_dict Proxy Model

Open russell310 opened this issue 4 years ago • 0 comments

When looping over changes_display_dict.items creates KeyError

site-packages\auditlog\registry.py", line 104, in get_model_fields
    'include_fields': list(self._registry[model]['include_fields']),

Exception Type: KeyError at /account/user/logs/15/detail/
Exception Value: <class 'apps.contacts.models.Company'>

But changes_dict.items is ok

russell310 avatar Oct 09 '21 05:10 russell310