def broken_view(request):
 raise KeyError('Oops! Looks like you wrote some bad code.')

def broken_view ( request ) : raise KeyError ( 'Oops! Looks like you wrote some bad code.' )
a view which just raises an exception .