Pass request as context in default flatpage template

This used to be supported, and removing it has broken some old flatpages.
This commit is contained in:
Quantum 2021-05-20 21:53:43 -04:00 committed by Guanzhong Chen
parent 967bbaf13c
commit 7d9914b9a5

View File

@ -11,5 +11,5 @@
{% endblock %}
{% block body %}
{{ render_django(flatpage.content) }}
{{ render_django(flatpage.content, request=request) }}
{% endblock %}