Simple Django test settings

I always forget it; this is more a note to myelf: The simplest settings file to do Django tests is:

DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = ':memory:'
TEST_DATABASE_NAME = ":memory:"

Also check out Eric's simple Django test suite.



↑ to the elevators

© 2001—2012 Martin Mahner. This is an I ♥ Django Project.

Admin | Generated: Sat, 4 Feb 2012 12:34:32 +0100