Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#24333 closed Bug (fixed)

admin history view can fail with non-integer slug

Reported by: Tim Graham Owned by: Tim Graham
Component: contrib.admin Version: 1.7
Severity: Normal 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

A URL like /admin/app/model/bad/history/ will raise ValueError if model's pk is an integer.

Change History (4)

comment:1 by Tim Graham, 10 years ago

Has patch: set

comment:2 by Simon Charette, 10 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In d64baaef3b95abe9ae5d07317c9bf4df02cb8592:

Fixed #24333 -- Fixed admin history view crash with non-integer slug.

comment:4 by Tim Graham <timograham@…>, 10 years ago

In 03f4e2d90997aec4c8f57c5c9b7925d70194327e:

[1.8.x] Fixed #24333 -- Fixed admin history view crash with non-integer slug.

Backport of d64baaef3b95abe9ae5d07317c9bf4df02cb8592 from master

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