0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

Add note about use of template tags in 500.html

This commit is contained in:
Matt Westcott 2022-04-07 11:39:37 +01:00 committed by LB (Ben Johnston)
parent 30c61353e8
commit 44e41a72d3

View File

@ -1,4 +1,11 @@
<!DOCTYPE html>
{% comment %}
This error template is intentionally left as static HTML to ensure that it is still renderable even
during system-wide failures such as a missing database.
Any Django template tags here - including this comment - will be processed at the point of cloning
the project template with `wagtail start`, and not during page rendering (unless escaped with
'templatetag').
{% endcomment %}<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />