11.1 Introduction

If you were to judge Django on the basis of all the previous content, you might describe the act of building a website as an iterative process where you always

1. Build a model

2. Generate a migration

3. Build webpages by

a. Creating a template

b. Creating a view

c. Creating a URL pattern

While this is a perfectly valid approach to building a website in Django, it is certainly not your only option.

To better aid you in your quest for a holistic understanding of Django, the goal of this chapter is to build a webpage that does not follow the process above. We will build a single webpage that provides a contact form to users, allowing them to send us emails without having us share our email address directly. Along the way, we ...

Get Django Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.