November 2015
Beginner to intermediate
840 pages
26h 30m
English
In Chapter 3: Programming Django Models and Creating a SQLite Database, Section 3.5 we saw that Django provides a mechanism, called migrations, to automate interactions with the database.
In this chapter, we revisit the concept of migrations and use Django’s system to fix several problems with our website. Most notably, we do the following:
Create data in the database.
Add a SlugField to NewsLink.
Create a unique identifier for ...
Read now
Unlock full access