Dec 4, 2011
get_list_or_404
get_list_or_404
(
klass
,
*args
,
**kwargs
)
Returns the result of
filter()
on a given model manager, raising
Http404
if the resulting list is empty.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment