Skip to Content
Building SPAs with Django and HTML Over the Wire
book

Building SPAs with Django and HTML Over the Wire

by Andros Fenollosa
August 2022
Intermediate to advanced
264 pages
4h 27m
English
Packt Publishing
Content preview from Building SPAs with Django and HTML Over the Wire

Chapter 4: Working with the Database

This chapter does not aim to teach you how to interact with a database using Django or to create migrations—I assume you already have those minimal skills. This chapter instead will show you how to work with real situations where a Channels instance interacts recurrently with models.

Unless the application is only powered by external APIs, having a database is an elementary requirement in any modern web development. The needs can range from functionality as simple as storing plain text in an orderly fashion, to an authentication system, to managing a complex structure of connections between users. In other words, you must connect to a database if you want to build a practical project.

Fortunately, Django ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Django 2 and Channels 2: Building Projects and Applications with Real-Time Capabilities

Practical Django 2 and Channels 2: Building Projects and Applications with Real-Time Capabilities

Federico Marani
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 9781803240190Supplemental Content