mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
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:
parent
967bbaf13c
commit
7d9914b9a5
@ -11,5 +11,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{{ render_django(flatpage.content) }}
|
||||
{{ render_django(flatpage.content, request=request) }}
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user