0 votes
in Django by

Which shortcut function returns the result of filter() on a given model manager cast to a list, raising Http404 if the resulting list is empty?

a) get_list_or_404()

b) render()

c) render_to_response()

d) get_object_or_404()

1 Answer

0 votes
by
a) get_list_or_404()

Related questions

0 votes
asked Jun 25, 2022 in Django by sharadyadav1986
0 votes
asked Jun 29, 2022 in Django by sharadyadav1986
...