In the previous chapter we learned how to create an empty project, enter the database settings, and run the development server. Now, we will start writing our bookmark-sharing application and learn about views, models, and templates in the process.
You can think of this chapter as a prolonged tour of the main Django components. You will learn how to create dynamic pages using views, store and manage data in the database using models, and simplify page generation using templates. While learning about these features, you will form a solid idea of how Django components work and interact with each other. The later chapters will explore these components deeper, as we develop more features and add them to our application.
The following topics are covered in this chapter:
URLs and views: Creating the main page
Models: Designing an initial database schema
Templates: Creating a template for the main page
Putting it all together: Generating user pages...