forked from cdriehuys/django-rest-email-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_settings.py
More file actions
43 lines (30 loc) · 803 Bytes
/
test_settings.py
File metadata and controls
43 lines (30 loc) · 803 Bytes
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", "NAME": ":memory:"}
}
INSTALLED_APPS = [
"django.contrib.auth",
"django.contrib.contenttypes",
"rest_email_auth",
]
SECRET_KEY = "secret"
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [],
"APP_DIRS": True,
"OPTIONS": {"context_processors": []},
}
]
ROOT_URLCONF = "test_urls"
# Internationalization
# https://docs.djangoproject.com/en/1.11/topics/i18n/
LANGUAGE_CODE = "en-us"
TIME_ZONE = "UTC"
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Basic settings required for the app
REST_EMAIL_AUTH = {
"EMAIL_VERIFICATION_URL": "https://example.com/verify/{key}",
"PASSWORD_RESET_URL": "https://example.com/reset/{key}",
}