Previous Page Next Page

Summary

In this hour, we discussed the HttpRequest and HttpResponse objects. You learned how to access information in the HttpRequest object and how to use the HttpResponse object to build and generate a response web page.

We also discussed how the URL patterns in the URLconf file enable the views. You learned how to define different types of patterns to handle different URLs and even collect arguments from the URLs to pass to the view function.

We also covered how to write views using the HttpRequest and HttpResponse objects to handle HTTP requests that get parsed by Django's URL dispatcher.

Previous Page Next Page