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.
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.
© 2001—2010 Martin Mahner. This is an I ♥ Django Project.
Admin | Generated: Wed, 1 Sep 2010 03:33:55 +0200
Comments closed
Sorry, new comments are no longer allowed for this entry.
Write me an email if you have feedback or any questions regarding this post. If you found this post useful and just want to say thank you then don't forget that I have an Amazon Wishlist. :-)