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

4. A Checkout System for Receiving Orders Online

Federico Marani1 
(1)
London, UK
 

Having laid down the database foundations of our project in Chapter 3, in this chapter we are going to build the remaining models on top of that, to store user-generated data. In our case it is a checkout system, which is very important for e-commerce sites.

We are going to cover the following topics:
  • Customizing the User model

  • Registration and login flows

  • CRUD1 views in Django

  • Middleware components

  • Django widgets

  • Displaying complex data in the admin interface

The User Model

Whatever model we are going to create for storing user-generated data will most likely be ...

Get Practical Django 2 and Channels 2: Building Projects and Applications with Real-Time Capabilities 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.