Opened 7 years ago

Closed 6 years ago

#19302 closed New feature (needsinfo)

Add option to disable Admin log (LogEntry)

Reported by: shadow Owned by: nobody
Component: contrib.admin Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Could there please be an option to disable the Admin log (LogEntry model).

Use case: An app designed for sensitive information, where deletion of objects must leave no trace.


Change History (3)

comment:1 Changed 7 years ago by shadow

It would also be preferable if you could have options to:

  • disable it globally (also disabling logging for the Auth app etc.)
  • disable it for individual models
  • disable it for individual apps

comment:2 Changed 7 years ago by Aymeric Augustin

Easy pickings: unset
Triage Stage: UnreviewedDesign decision needed

I'm hesitating to accept this request.

Our contributing guidelines recommend sending feature requests to the django-developers mailing list. Could you start a discussion to see if there's support for this idea?

Please include a link to the discussion in the comments.

PS: the quick'n'dirty way to achieve this is to hook to the post_delete signal to clean up related log entries.

comment:3 Changed 6 years ago by Aymeric Augustin

Resolution: needsinfo
Status: newclosed

Please post the link to the discussion on django-developers and describe the consensus when it's reached.

Note: See TracTickets for help on using tickets.
Back to Top