Skip to content

Commit

Permalink
Merge branch 'develop' into release/2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
thatbudakguy committed Sep 16, 2020
2 parents c1c3492 + 4f53e77 commit 6e5ca9c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion cdhweb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,12 @@
"DIRS": [
os.path.join(PROJECT_ROOT, "templates")
],
"APP_DIRS": True,
"OPTIONS": {
'loaders': [
'apptemplates.Loader',
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
],
"context_processors": [
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
Expand Down
1 change: 1 addition & 0 deletions requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ python-dateutil
icalendar
attrdict
django-fullurl
django-apptemplates
2 changes: 1 addition & 1 deletion templates/pages/richtextpage.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "pages/richtextpage.html" %}
{% extends "pages:pages/richtextpage.html" %}

{% block bodyattrs %}class="richtextpage{% if not page.published %} draft{% endif %}"{% endblock %}

Expand Down

0 comments on commit 6e5ca9c

Please sign in to comment.