Maru Kun

84%
Flag icon
When we migrate the database, Django will modify the database so it can store a connection between each topic and a user. To make the migration, Django needs to know which user to associate with each existing topic. The simplest approach is to give all existing topics to one user—for example, the superuser. First, we need to know the ID of that user.
Python Crash Course: A Hands-On, Project-Based Introduction to Programming
Rate this book
Clear rating