Will & Skill Developers

Will & Skill Developers

Thoughts, snippets and ideas from the team at Will & Skill AB, Stockholm.



Django Testing

Creating fixtures for testing in Django

When running tests Django automatically creates a clean database using the same settings you have in your settings.py file. However if we want to test some behaviour that has to do with our models we need to fill the database with some content. Since manually creating every model we want to test is…

Erik S Erik S