You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During an upgrade to Django 1.8 we ran into some problems overriding the default templates with those in our custom_comments app. It appears the ordering in which django searches through template directories for a template has changed with the introduction of the TEMPLATE setting.
This caused our custom comments to revert to the default templates as they were found by django first. Our templates were at the following path custom_comments/templates/comments/TEMPLATE.html.
We managed to fix this by including our custom_comments app explicitly in the TEMPLATESDIRS list, which bumped our app to the top of the search. Could you please fix how you select templates so custom templates at the following path are override independent of template directory ordering custom_comments/templates/comments/TEMPLATE.html.
The text was updated successfully, but these errors were encountered:
During an upgrade to Django 1.8 we ran into some problems overriding the default templates with those in our
custom_comments
app. It appears the ordering in which django searches through template directories for a template has changed with the introduction of the TEMPLATE setting.This caused our custom comments to revert to the default templates as they were found by django first. Our templates were at the following path
custom_comments/templates/comments/TEMPLATE.html
.We managed to fix this by including our
custom_comments
app explicitly in theTEMPLATES
DIRS
list, which bumped our app to the top of the search. Could you please fix how you select templates so custom templates at the following path are override independent of template directory orderingcustom_comments/templates/comments/TEMPLATE.html
.The text was updated successfully, but these errors were encountered: