Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open
Commits
2b2af612
Commit
2b2af612
authored
Mar 06, 2018
by
Daniel W Bond
Browse files
added new templates directory identification to settings
parent
53a97617
Changes
1
Hide whitespace changes
Inline
Side-by-side
whats-open/settings/base.py
View file @
2b2af612
...
...
@@ -152,7 +152,9 @@ TEMPLATES = [
'BACKEND'
:
'django.template.backends.django.DjangoTemplates'
,
# See: https://docs.djangoproject.com/en/dev/ref/settings/#template-dirs
'DIRS'
:
[
normpath
(
join
(
SITE_ROOT
,
'templates'
))
normpath
(
join
(
SITE_ROOT
,
'templates'
)),
# may specify to avoid requiring paths
normpath
(
join
(
SITE_ROOT
,
'api/templates'
)),
],
'OPTIONS'
:
{
# See: https://docs.djangoproject.com/en/dev/ref/settings/#template-context-processors
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment