Opened 6 years ago

Closed 6 years ago

Last modified 6 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 Changed 6 years ago by Tim Graham

Has patch: set

comment:2 Changed 6 years ago by Simon Charette

Triage Stage: AcceptedReady for checkin

comment:3 Changed 6 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In d64baaef3b95abe9ae5d07317c9bf4df02cb8592:

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

comment:4 Changed 6 years ago by Tim Graham <timograham@…>

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