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 ...

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.