def trigger_500(request):
 raise Exception("Congratulations, you've triggered an exception! Go tell all your friends what an exceptional person you are.")

def trigger_500 ( request ) : raise Exception ( "Congratulations, you've triggered an exception! Go tell all your friends what an exceptional person you are." )
hot-wired method of triggering a server error to test reporting .