Search⌘ K
AI Features

Writing the Code for the Models

Understand how to write Django model code guided by test-driven development. This lesson focuses on implementing the Catalogue model with various field types, syncing data to the database, and running tests to ensure all pass. Explore refactoring concepts to improve code quality while maintaining test integrity.

In this lesson, we write the simplest code that will make the test run successfully and ...