Q. What does the get_object_or_404 function do?
β
Correct Answer: (C)
Returns object or raises 404 error
Explanation: get_object_or_404 returns an object or raises Http404 if not found.