Commit forgotten file
This commit is contained in:
parent
55c6574dc6
commit
6adbf5b2e3
1 changed files with 19 additions and 0 deletions
19
roles/mailman/files/settings_test.py
Normal file
19
roles/mailman/files/settings_test.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#-*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
"""
|
||||||
|
Copy of the Django settings file, but with databases set for unit tests.
|
||||||
|
"""
|
||||||
|
|
||||||
|
from settings import *
|
||||||
|
try:
|
||||||
|
from settings_local import *
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
DATABASES = {
|
||||||
|
'default': {
|
||||||
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
|
'NAME': ':memory:',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
KITTYSTORE_URL = 'sqlite:'
|
Loading…
Add table
Add a link
Reference in a new issue