from django.shortcuts import render # Create your views here. from django.http import HttpResponse def index(request): return render(request, 'index.html',{'titulo':'Django Polls App'}) def ola(request): return HttpResponse("Olá !!")