Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

render django views

from django.shortcuts import render
  
# Create your views here.
def geeks_view(request):
      
    # render function takes argument  - request
    # and return HTML as response
    return render(request, "home.html")
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #render #django #views
ADD COMMENT
Topic
Name
8+5 =