Learning-cicle/sami/django/mysite/polls/views.py

18 lines
309 B
Python

# from django.shortcuts import render
# Create your views here.
#from django.urls import path
#from . import views
#urlpatterns = [
# path('', views.index, name='index'),
#]
from django.http import HttpResponse
def index(request):
return HttpResponse("Hello, world. You're at the polls index.")