Coding for UWAV - Views

Creating the apps for your website you need to have the site direct the user to certain pages. By adding what the website should do when a page is requested is stored in views. It gives a function response.
def searchpage(request):
    return HttpResponse("<h1>This is the searchpage!</h1>")
https://www.youtube.com/watch?v=nAn1KpPlN2w

Comments

Popular posts from this blog

Python 3.4 - Caesar Cipher

UML - Use Case Diagram