DEV Community

Discussion on: Testing against unmanaged models in Django

Collapse
 
nobism profile image
Martin Nobis • Edited

I've found that this only works when a migration is applied to your database when managed=True has been set for all of your models. In this case, we've fixed the problem of Django not being able to load fixtures into the database to run the tests. But what's the point of going through all this trouble when managed=True the whole time anyway?

Does this make sense or am I missing something?