This is a short recap of what was covered in the fourth chapter.

This is the end of the fourth chapter. Let’s have a short recap of what was covered and the key takeaways.

  • In this chapter, we learned about web forms and their importance in today’s web applications. We saw several use cases of a web form in a website.
  • Additionally, we saw how to create a web form in HTML with some input fields. We were introduced to the concept of cross-site request forgery or CSRF and how Django helps protect our web application from this vulnerability.
  • We also learned to create a web form in Django programmatically, using Python instead of regular HTML.
  • All the steps were taken in a test-driven way where we write our test before actually writing the code.
  • Finally, we saw how to use templates in Django and learned to import a styling package like Bootstrap.

Get hands-on with 1200+ tech skills courses.