Skip to content

Commit

Permalink
Use template context_processors instead of core
Browse files Browse the repository at this point in the history
  • Loading branch information
sks444 committed May 7, 2020
1 parent a1e8e5d commit 28395b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion settings/dev.py.sample
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DATABASES = {
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'http'

TEMPLATES[0]['OPTIONS']['context_processors'].extend([
"django.core.context_processors.debug",
"django.template.context_processors.debug",
])

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
Expand Down
2 changes: 1 addition & 1 deletion settings/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

TEMPLATES[0]["OPTIONS"]["context_processors"].extend(
["django.core.context_processors.debug",]
["django.template.context_processors.debug",]
)

EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
Expand Down

0 comments on commit 28395b3

Please sign in to comment.