Skip to content

Feature to audit log the changes along with old and new values. #153

Open
@vivekshah1801

Description

@vivekshah1801

Is your feature request related to a problem? Please describe.
We use extra-settings in our services. Since the access to change the settings is with multiple teammates, we want a way so that we can effectively manage the change in values. Currently django history shows which user has changed which field. Having the ability to log the change in value will be a good enhancement.

Describe the solution you'd like
Currently django logs the change as
April 20, 2023, 12:54 p.m. username (name) Changed value_bool.
What it should be
April 20, 2023, 12:54 p.m. username (name) Changed value_bool from <old_value> to <new_value>

Describe alternatives you've considered
We can do it in post_save signal and expose a configuration via settings to enable/disable.
We can also do it by overriding construct_change_message method.

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions