[Django]-Is it possible to get an interactive django shell using the test database?

0👍

I ran into this, at first I thought it was because the codebase I’m working on has a flush call in the teardown function, but my DB was still empty after removing those. Maybe there were more flushes somewhere I didn’t catch.

I ended up getting around this by sleeping at the end of the test, so it doesn’t exit and doesn’t clean up.

👤rtaft

Leave a comment