Opened 14 years ago

Closed 14 years ago

Last modified 13 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: no UI/UX: no

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 14 years ago.

Download all attachments as: .zip

Change History (6)

by Yeago, 14 years ago

Attachment: ctviews.patch added

comment:1 by Yeago, 14 years ago

Has patch: set

comment:2 by Yeago, 14 years ago

Triage Stage: UnreviewedReady for checkin

Marking RFC. Hope this is non-controversial enough.

comment:3 by Adrian Holovaty, 14 years ago

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 by Russell Keith-Magee, 14 years ago

(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 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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