In the Django framework, views are Python functions or classes that receive a web request and return a web response . The response can be a simple HTTP response, an HTML template response, or an HTTP redirect response that redirects a user to another page.28 Eki 2020