Add polls app with basic views and URL routing

This commit is contained in:
2025-12-10 21:03:51 -05:00
parent 620012392d
commit 384b2e7303
9 changed files with 34 additions and 2 deletions

9
polls/views.py Normal file
View File

@@ -0,0 +1,9 @@
from django.http import HttpResponse
def index(request):
return HttpResponse("Hello, world. You're at the polls index.")
def index2(request):
return HttpResponse("Hello, world. You're at the polls index #2.")