1st commit
This commit is contained in:
10
polls/views.py
Normal file
10
polls/views.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
from django.http import HttpResponse
|
||||
|
||||
def index(request):
|
||||
return render(request, 'index.html')
|
||||
|
||||
def ola(request):
|
||||
return HttpResponse("Olá !!")
|
||||
Reference in New Issue
Block a user