def get_view(request):
    t = Template('This is a test. {{ var }} is the value.', name='GET Template')
    c = Context({'var': request.GET.get('var', 42)})

    return HttpResponse(t.render(c))
Call this to close standard input on this process.
dataset/ETHPy150Open django/django/tests/test_client/views.py/get_view--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/internet/process.py/Process.closeStdin