[Django] #32696: Display Changed Value in History Form Django Admin

26 views
Skip to first unread message

Django

unread,
Apr 28, 2021, 5:30:59 PM4/28/21
to django-...@googlegroups.com
#32696: Display Changed Value in History Form Django Admin
-----------------------------------------+------------------------
Reporter: sumaiaor | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 3.2
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 |
-----------------------------------------+------------------------
Dears,

I am using Django Admin to create certain objects and be able to modify
and monitor these objects. One thing I need is to display in **Django
history** table is the following:

- Changed Column
- Old value of the changed column only
- New value of changed column only

I tried to override the **save_model** function, but I couldn't specify
the old and new value of only the changed column, I was able to retrieve
the whole object with the new value only.

Is there any way to do that ?

Thank you.

Best Regards,
Sumaia

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

Django

unread,
Apr 28, 2021, 5:31:56 PM4/28/21
to django-...@googlegroups.com
#32696: Display Changed Value in History Form Django Admin
-------------------------------+--------------------------------------
Reporter: sumaiaor | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by sumaiaor):

* type: Bug => Uncategorized


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

Django

unread,
Apr 29, 2021, 12:08:02 AM4/29/21
to django-...@googlegroups.com
#32696: Display Changed Value in History Form Django Admin
-------------------------------+--------------------------------------
Reporter: sumaiaor | Owner: nobody
Type: Uncategorized | Status: closed
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

Please don't use Trac as a support channel. Closing per
TicketClosingReasons/UseSupportChannels.

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

Reply all
Reply to author
Forward
0 new messages