Django TutorialLesson 8Free preview
Django Views
This lesson is part of Django · All levels
Summary
View is a Python function that receives a request and returns a response. Each web page in Django is generally handled by a single view. View can render templates or restore raw data.
Key points
- View is a normal function with the request parameter
- Returns HttpResponse or similar object
- Placed in the views.py app
- Can render templates or other data
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.