def get_object_or_404(queryset, *filter_args, **filter_kwargs):
 try:
  return _get_object_or_404(queryset, *filter_args, **filter_kwargs)
 except (TypeError, ValueError):
  raise Http404

def get_object_or_404 ( queryset , * filter_args , ** filter_kwargs ) : try : return _get_object_or_404 ( queryset , * filter_args , ** filter_kwargs ) except ( TypeError , ValueError ) : raise Http404
same as djangos standard shortcut .