Skip to content

Instantly share code, notes, and snippets.

@cmheisel
Created November 21, 2009 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmheisel/240285 to your computer and use it in GitHub Desktop.
Save cmheisel/240285 to your computer and use it in GitHub Desktop.
Sample Django test settings
from yourapp.settings.common import *
ROOT_URLCONF = 'yourapp.settings.test.urls'
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = ':memory:'
INSTALLED_APPS += ('django_nose', )
TEST_RUNNER = 'django_nose.run_tests'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment