Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

making a return from your views

from django.http import HttpResponse


def index(request):
    return HttpResponse("Hello, world. You're at the polls index.")
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #making #return #views
ADD COMMENT
Topic
Name
8+6 =