File tree 1 file changed +9
-22
lines changed
1 file changed +9
-22
lines changed Original file line number Diff line number Diff line change 1
1
from .common import * # noqa
2
2
from .dev import ( # noqa
3
3
CACHES ,
4
+ CSRF_COOKIE_SECURE ,
5
+ DEBUG ,
6
+ DOCS_BUILD_ROOT ,
7
+ EMAIL_BACKEND ,
8
+ MEDIA_ROOT ,
9
+ PUSH_SSL_CALLBACK ,
10
+ SESSION_COOKIE_SECURE ,
4
11
SILENCED_SYSTEM_CHECKS ,
12
+ STATIC_ROOT ,
13
+ THUMBNAIL_DEBUG ,
5
14
)
6
15
7
16
DATABASES = {
21
30
22
31
LOCALE_MIDDLEWARE_EXCLUDED_HOSTS = ["docs.djangoproject.localhost" ]
23
32
24
- DEBUG = True
25
- THUMBNAIL_DEBUG = DEBUG
26
-
27
- CSRF_COOKIE_SECURE = False
28
-
29
- EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
30
-
31
- MEDIA_ROOT = str (DATA_DIR .joinpath ("media_root" ))
32
-
33
- SESSION_COOKIE_SECURE = False
34
-
35
- STATIC_ROOT = str (DATA_DIR .joinpath ("static_root" ))
36
-
37
- # Docs settings
38
- DOCS_BUILD_ROOT = DATA_DIR .joinpath ("djangodocs" )
39
-
40
33
# django-hosts settings
41
-
42
34
PARENT_HOST = "localhost:8000"
43
35
44
- # django-push settings
45
-
46
- PUSH_SSL_CALLBACK = False
47
-
48
36
# Enable optional components
49
-
50
37
if DEBUG :
51
38
import debug_toolbar # NOQA
52
39
You can’t perform that action at this time.
0 commit comments