Django views serve the purpose of encapsulation. They encapsulate the logic liable for processing a user’s request and for returning
the response back to the user. Views in Django either return an HttpResponse or raise an exception such as Http404. HttpResponse contains the objects that consist of the content that is to be rendered to the user. Views can also be used to perform tasks such as read records from the database, delegate to the templates, generate a PDF file, etc.
Course Curriculum
Python Django Training and Certification
Instructor-led Live SessionsReal-life Case StudiesAssignmentsLifetime Access