forked from tBaxter/Tango
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_settings.py
40 lines (34 loc) · 890 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
SECRET_KEY = "lorem ipsum"
INSTALLED_APPS = (
'django.contrib.contenttypes',
'django.contrib.auth',
'django.contrib.sites',
'autotagger',
'tango_shared',
'tango_user',
'video',
'typogrify', # installed by shared, keeps templates happy
'voting'
)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}
SITE_ID = 1
AUTH_USER_MODEL = 'tango_user.Profile'
ROOT_URLCONF = 'test_urls'
#stripped down middleware
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
ACTIVITY_MONITOR_MODELS = (
{
'model': 'auth.user', # Required: the model to watch.
'verb': " joined ",
},
)