9👍
✅
When you run manage.py test
then the base of your database will be created but it contains no data. To do that you can simply create the necessary objects yourself or use something like FactoryBoy
Just keep in mind that the database is cleaned of data from previous test methods when starting a new one.
Source:stackexchange.com