View Functions
Basic structure of a view function:
from django.http import HttpResponse
def view_function_zyx(request):
...
...
...
return HttpResponse("xyz")
request is with the type HttpRequest.
Basic structure of a view function:
from django.http import HttpResponse
def view_function_zyx(request):
...
...
...
return HttpResponse("xyz")
request is with the type HttpRequest.