id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 10298 get_list_or_404 documentation Dagur Páll Ammendrup nobody "The documentation needs to be fixed (http://docs.djangoproject.com/en/dev/topics/http/shortcuts/#get-list-or-404) get_list_or_404 is not equivalent to doing: {{{ def my_view(request): my_objects = MyModel.objects.filter(published=True) if not my_objects: raise Http404 }}} because my_objects is a queryset but the function will return a list. " closed Documentation 1.0 fixed Ready for checkin 1 0 0 0 0 0