summaryrefslogtreecommitdiff
path: root/django/template
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-12-07 17:13:07 -0500
committerGitHub <noreply@github.com>2017-12-07 17:13:07 -0500
commit2b81faab257832d3dbd42947a884f7ec99685d18 (patch)
treef6fbaefb4284567bcd0a0e2a27a6ce36938aaef3 /django/template
parent02d9419fe34eaa4d41d8a8df93373f286a36a2ae (diff)
Fixed #28906 -- Removed unnecessary bool() calls.
Diffstat (limited to 'django/template')
-rw-r--r--django/template/backends/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/backends/base.py b/django/template/backends/base.py
index c47c95e51e..22628c6355 100644
--- a/django/template/backends/base.py
+++ b/django/template/backends/base.py
@@ -20,7 +20,7 @@ class BaseEngine:
params = params.copy()
self.name = params.pop('NAME')
self.dirs = list(params.pop('DIRS'))
- self.app_dirs = bool(params.pop('APP_DIRS'))
+ self.app_dirs = params.pop('APP_DIRS')
if params:
raise ImproperlyConfigured(
"Unknown parameters: {}".format(", ".join(params)))