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 directly through SQL queries, then you may find Django's approach to database access a bit different. Loosely speaking, Django abstracts access to database tables through Python classes. To store, manipulate, and retrieve objects from the database...