James Kizer

Results 3 comments of James Kizer

Some of my models that I would like to audit contain sensitive information that'd prefer not be saved. Ideally, I would have the option of fields to ignore on a...

Below is an example usage. Create the following methods: ``` def excluded_field_names_for_instance(instance): if instance._meta.label == 'auth.User': return ['password'] if instance._meta.label == 'app.Token': return ['token'] return [] def custom_easy_audit_serializer(instance): excluded_fields =...

@jheld Ok, yeah, that makes sense. Before I fix, I feel like we might also want to override serialization in [`m2m_changed`](https://github.com/jdkizer9/django-easy-audit/blob/4a9269bb847967ea41b812a8bded91f76abaf46e/easyaudit/signals/model_signals.py#L211) and [`post_delete`](https://github.com/jdkizer9/django-easy-audit/blob/4a9269bb847967ea41b812a8bded91f76abaf46e/easyaudit/signals/model_signals.py#L271). Thoughts?