Skip to content

Add activity log #1562

Description

@timobrembeck

Motivation

The default Django admin backend stores metadata about all changes made in the activity log, which makes it easier to track down specific issues and makes it more transparent which user made which changes.

Proposed Solution

  • Add the same logging model as Django admin (but without installing the app in non-debug-mode, so copy + paste the LogEntry model instead of importing it)
  • Create a new log entry whenever objects are created, changed or deleted via LogEntry.objects.log_action()
  • Show the log of the most current actions of each region in the dashboard

Alternatives

Additional Context

This is a more general approach than #649

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: mediumShould be doable in <12hfeature:DashboardIssues related to the dashboard in the Integreat CMSprio: lowNot urgent, can be resolved in the distant future.questionFurther information is requested

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions