Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14414 closed (fixed)

Additional check in content-type view to prevent 500

Reported by: Yeago Owned by: nobody
Component: Contrib apps Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

In the event that your ContentType doesn't have a model_class associated with it anymore, it would be nice if the resulting url didn't chokedie 500 style.

Attachments (1)

ctviews.patch (731 bytes) - added by Yeago 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Yeago

Attachment: ctviews.patch added

comment:1 Changed 6 years ago by Yeago

Has patch: set

comment:2 Changed 6 years ago by Yeago

Triage Stage: UnreviewedReady for checkin

Marking RFC. Hope this is non-controversial enough.

comment:3 Changed 6 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [13994]) Fixed #14414 -- Improved contenttypes shortcut() view to check that the ContentType has a model_class(). Thanks, subsume

comment:4 Changed 6 years ago by Russell Keith-Magee

(In [14385]) [1.2.X] Fixed #14414 -- Improved contenttypes shortcut() view to check that the ContentType has a model_class(). Thanks, subsume

Backport of r13994 from trunk.

comment:5 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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