[Django] #29370: LogEntry.action_flag.choices

31 views
Skip to first unread message

Django

unread,
Apr 27, 2018, 8:10:00 PM4/27/18
to django-...@googlegroups.com
#29370: LogEntry.action_flag.choices
-----------------------------------------+------------------------
Reporter: James Pic | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 2.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
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).

--
Ticket URL: <https://code.djangoproject.com/ticket/29370>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 28, 2018, 7:53:22 AM4/28/18
to django-...@googlegroups.com
#29370: LogEntry.action_flag.choices
-------------------------------+------------------------------------

Reporter: James Pic | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Claude Paroz):

* version: 2.0 => master
* stage: Unreviewed => Accepted


Comment:

Makes sense.

--
Ticket URL: <https://code.djangoproject.com/ticket/29370#comment:1>

Django

unread,
Apr 28, 2018, 8:03:58 PM4/28/18
to django-...@googlegroups.com
#29370: Add choices to LogEntry.action_flag
-------------------------------+------------------------------------

Reporter: James Pic | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/29370#comment:2>

Django

unread,
May 3, 2018, 6:06:25 AM5/3/18
to django-...@googlegroups.com
#29370: Add choices to LogEntry.action_flag
-------------------------------+---------------------------------------
Reporter: James Pic | Owner: Nicolas Noé
Type: New feature | Status: assigned

Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+---------------------------------------
Changes (by Nicolas Noé):

* status: new => assigned
* owner: nobody => Nicolas Noé


--
Ticket URL: <https://code.djangoproject.com/ticket/29370#comment:3>

Django

unread,
May 3, 2018, 8:58:19 AM5/3/18
to django-...@googlegroups.com
#29370: Add choices to LogEntry.action_flag
-------------------------------+---------------------------------------
Reporter: James Pic | Owner: Nicolas Noé
Type: New feature | Status: assigned
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+---------------------------------------
Changes (by Nicolas Noé):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/9919 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/29370#comment:4>

Django

unread,
May 7, 2018, 12:31:50 PM5/7/18
to django-...@googlegroups.com
#29370: Add choices to LogEntry.action_flag
-------------------------------+---------------------------------------
Reporter: James Pic | Owner: Nicolas Noé
Type: New feature | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+---------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"c4158d050f43bb65aad224f4cf7ae56d9e630445" c4158d0]:
{{{
#!CommitTicketReference repository=""
revision="c4158d050f43bb65aad224f4cf7ae56d9e630445"
Fixed #29370 -- Added choices to LogEntry.action_flag field.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29370#comment:5>

Reply all
Reply to author
Forward
0 new messages