Chapter 2. Creating a Django Site

Now that we have some idea about how our site is supposed to look and function fresh in our minds from the last chapter, we're going to get started by creating the basic skeleton for the site.

First, we're going to create the Django site and have a look at the files that Django creates for you by default, and how you're supposed to use each one to set up the site. As every dynamic web site requires a back-end datastore, we're going to create and configure the MySQL database for our project. Then, we'll learn how Django maps requests to your site to view functions, and how these serve templates back to the users of your site.

We're just going to create something very simple, but don't let this interfere with your ...

Get Beginning Django E-Commerce 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.