forked from dokterbob/django-multilingual-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_settings.py
43 lines (39 loc) · 829 Bytes
/
test_settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3'
}
}
INSTALLED_APPS = [
'multilingual_model',
]
try:
# If available, South is required by setuptest
import south
INSTALLED_APPS.append('south')
except ImportError:
# South not installed and hence is not required
pass
SITE_ID = 1
LOGGING = {
'version': 1,
'disable_existing_loggers': True,
'formatters': {
'simple': {
'format': '- %(levelname)s %(message)s'
},
},
'handlers': {
'console':{
'level': 'DEBUG',
'class': 'logging.StreamHandler',
'formatter': 'simple'
},
},
'loggers': {
'': {
'handlers': ['console'],
'propagate': True,
'level': 'INFO',
},
}
}