Opened 3 years ago

Closed 2 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

Description

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.

cheers

Change History (3)

comment:1 Changed 3 years ago by shadow

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 3 years ago by aaugustin

  • Easy pickings unset
  • Triage Stage changed from Unreviewed to Design 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 2 years ago by aaugustin

  • Resolution set to needsinfo
  • Status changed from new to closed

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