© Federico Marani 2019
Federico MaraniPractical Django 2 and Channels 2https://doi.org/10.1007/978-1-4842-4099-1_2

2. Getting Started with a Simple Company Site

Federico Marani1 
London, UK

In this chapter we will start to build the first pages of the site. These pages will offer the base functionality that is expected from a site, such as presentation pages and forms to gather leads.

We are going to discuss
  • Basic templates

  • Serving templates

  • Serving CSS and JS

  • How to add URLs

  • Creating a form that sends e-mails

Starting with the Homepage

The very first step that we will do is write the homepage for our site. It will give us something tangible to start with, and we will use this opportunity to introduce a few Django concepts.

To serve the homepage, we will ...

Get Practical Django 2 and Channels 2: Building Projects and Applications with Real-Time Capabilities now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.