Skip to content

Commit 2de9278

Browse files
committed
Use template context_processors instead of core
1 parent 0aa00eb commit 2de9278

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

settings/dev.py.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ DATABASES = {
1818
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'http'
1919

2020
TEMPLATES[0]['OPTIONS']['context_processors'].extend([
21-
"django.core.context_processors.debug",
21+
"django.template.context_processors.debug",
2222
])
2323

2424
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

settings/test_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717

1818
TEMPLATES[0]["OPTIONS"]["context_processors"].extend(
19-
["django.core.context_processors.debug",]
19+
["django.template.context_processors.debug",]
2020
)
2121

2222
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"

0 commit comments

Comments
 (0)