3.1 Introduction
In Chapter 1: Starting a New Django Project, we specified the design of our Startup Organizer project based on behavior. To be able to implement this behavior, however, we must know what data we need. Typically, the first step to building a website in Django is to define how the data are organized and then to use this work to build the database. Django models are a direct application of Models from MVC (Model-View-Controller) theory: they encapsulate the organization of data and the communication with the database. Django models are the topic of Chapter 3.
Info
Model from Model-View-Controller is capitalized, while model in Django’s code is not capitalized. The same rule applies to View and view.
We start by establishing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access