Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#27302 closed Bug (fixed)

Date/time fields flagged as changed in ModelAdmin.construct_change_message

Reported by: Claude Paroz Owned by: nobody
Component: contrib.admin Version: 1.10
Severity: Release blocker Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Reported on IRC by Ramiro Morales: When a ModelAdmin uses a localized date/time input, the matching fields are always flagged as changed when populating the change message for the LogEntry.
Bisected to [cf7894be88f6c27680ef80796b883f6e3b709b8b].

Change History (4)

comment:2 Changed 3 years ago by Tim Graham

Triage Stage: AcceptedReady for checkin

comment:3 Changed 3 years ago by Claude Paroz <claude@…>

Resolution: fixed
Status: newclosed

In 67eee5e4:

Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed field detection

Thanks Ramiro Morales for the report and Tim Graham for the review.

comment:4 Changed 3 years ago by Claude Paroz <claude@…>

In 062b8ba3:

[1.10.x] Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed field detection

Thanks Ramiro Morales for the report and Tim Graham for the review.
Backport of 67eee5e4fa08f4404445ebf4f54b686e68a8530c from master.

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