Add note about use of template tags in 500.html

pull/8229/head
Matt Westcott 2022-04-07 11:39:37 +01:00 zatwierdzone przez LB (Ben Johnston)
rodzic 30c61353e8
commit 44e41a72d3
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -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" />