RunningDjangoTests: settings_unittest.py

File settings_unittest.py, 464 bytes (added by calvin@…, 7 years ago)

Minimal unittest settings file

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