mirror of
https://github.com/skoobasteeve/django-movies.git
synced 2026-04-29 13:48:56 +00:00
Add polls app with basic views and URL routing
This commit is contained in:
9
polls/views.py
Normal file
9
polls/views.py
Normal 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.")
|
||||
Reference in New Issue
Block a user