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 , 8 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Version: | 2.0 → master |
comment:2 by , 8 years ago
| Summary: | LogEntry.action_flag.choices → Add choices to LogEntry.action_flag |
|---|
comment:3 by , 8 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Makes sense.