Django

Code

RunningDjangoTests: settings_unittest.py

File settings_unittest.py, 464 bytes (added by calvin@debian.org, 2 months ago)

Minimal unittest settings file

Line 
1 DATABASE_ENGINE = 'sqlite3'  # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
2 DATABASE_NAME = ':memory:'   # Or path to database file if using sqlite3.
3 DATABASE_USER = ''           # Not used with sqlite3.
4 DATABASE_PASSWORD = ''       # Not used with sqlite3.
5 DATABASE_HOST = ''           # Set to empty string for localhost. Not used with sqlite3.
6 DATABASE_PORT = ''           # Set to empty string for default. Not used with sqlite3.
7 ROOT_URLCONF = 'foo.urls'