Comment

Peter Bengtsson

Because the test runner doesn't work like a normal Django startup. Without first doing this, the first test that tries to open the database in read-only mode will fail. Perhaps there is a more appropriate way but I couldn't immediately find one.

Parent comment

LE

Why would you mkdir a database's directory? Makes no sense.