1.

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?

Answer»

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?
Choose the correct OPTION from below list
(1)render_to_response()
(2)get_list_or_404()
(3)RENDER()
(4)get_object_or_404()

Answer:-(2)get_list_or_404()



Discussion

No Comment Found