I'm writing an app which uses a legacy database (with managed=False) for some of the models, and have been trying to find a way to test them (as the usual testing won't work since it won't allow table creation). I have tried all of the workarounds I could find but the most recent was from 2017 and referred to a much older version of Django. Does anyone know a way to perform tests on legacy databases with unmanaged models in the current version of Django (2.1)?