#NEWLINE# def get_object_or_404( Model , **kwargs ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return Model . objects . get ( ** kwargs ) #NEWLINE# #UNINDENT# except kwargs . DoesNotExist : #NEWLINE# #INDENT# abort ( 404 )