def nesting_exception_view(request):
    client = Client()
    client.get('/get_view/')
    raise Exception('exception message')
A view that uses a nested client to call another view and then raises an
dataset/ETHPy150Open django/django/tests/test_client/views.py/nesting_exception_view