O'Reilly logo

Django 1.0 Web Site Development by Ayman Hourieh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Models: designing an initial database schema

Almost every Web 2.0 application requires a database to store and manage its data. The database engine is a fundamental component of web development today. Web applications offer the user a UI to enter and manage his or her data, and use a database engine behind the scenes to manage this data.

Note

In Django, you can think of view as the component responsible for collecting and displaying data, and the model as the component responsible for storing and managing it.

We will choose the database engine that configured our database settings in the previous chapter. In this section, we will make use of the database to store and manage user accounts and bookmarks.

If you are used to dealing with the database ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required