Search code examples
djangodjango-tests

Is there anyway to use initial data without reinstalling custom sql?


I'm new to django and I wonder if there is anyway to use initial data without reinstalling custom sql each time. My initial data is almost 100MB and it's kind of painful to wait for database import for each test. I'm trying to find a way to do it without truncating my initial data.


Solution

  • You might be looking for UnitTesting without create/destroy database