def index(request): return HttpResponse("Hello, world. You're at the polls index.") def hello(request): return render(request,'hello.html', {'name': request.method}) #request.method is equal to get