Opened 8 years ago

Closed 8 years ago

#29370 closed New feature (fixed)

Add choices to LogEntry.action_flag

Reported by: James Pic Owned by: Nicolas Noé
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This ticket suggests to use the choices feature for django.contrib.admin.models.LogEntry.action_flag

This would enable using get_action_flag_display(), and also to add new action flags in addition to the existing ones (ADDITION, CHANGE, DELETION).

Change History (5)

comment:1 by Claude Paroz, 8 years ago

Triage Stage: Unreviewed → Accepted
Version: 2.0 → master

Makes sense.

comment:2 by Tim Graham, 8 years ago

Summary: LogEntry.action_flag.choices → Add choices to LogEntry.action_flag

comment:3 by Nicolas Noé, 8 years ago

Owner: changed from nobody to Nicolas Noé
Status: new → assigned

comment:4 by Nicolas Noé, 8 years ago

Has patch: set

comment:5 by Tim Graham <timograham@…>, 8 years ago

Resolution: → fixed
Status: assigned → closed

In c4158d0:

Fixed #29370 -- Added choices to LogEntry.action_flag field.

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