djangoproject/mysite/polls/views.py

5 lines
169 B
Python

from django.http import request, HttpResponse
from django.shortcuts import render
def index(request):
return HttpResponse("Hello, world. You're at the polls index")