Django Initial Data with Fixtures
· β 3 min read
1. Characteristics of Fixtures Fixtures are a new way to provide initial data, and they are used by Django’s test framework to handle test data for unit tests. Unlike SQL files, a fixture can provide a serialized file that Django’s serialization system understands; it is read, automatically converted into the corresponding model, and then saved into the database.