Introduction
After getting familiar with the folder structure of the Django framework, we’ll create our first view in an app. The basics of creating and mapping a view with a URL will be cleared by the end of this part.
Creating Views
Views are the functions written in python as a logic control unit of the webserver
To create a view or typically-like function, we need to write a function in the views.py file inside of the application folder. The function name can be anything but should be a sensible name as far as its usability is concerned. Let’s take a basic example of sending an HTTP response of “Hello World”.