Skip to content

Commit

Permalink
Pass request as context in default flatpage template
Browse files Browse the repository at this point in the history
This used to be supported, and removing it has broken some old flatpages.
  • Loading branch information
quantum5 committed May 21, 2021
1 parent 967bbaf commit 7d9914b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/flatpages/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
{% endblock %}

{% block body %}
{{ render_django(flatpage.content) }}
{{ render_django(flatpage.content, request=request) }}
{% endblock %}

0 comments on commit 7d9914b

Please sign in to comment.