mirror of
https://github.com/postgres/pgweb.git
synced 2025-07-29 11:59:36 +00:00

With the new django, alerts are raised for everything with status 500, not juse exceptions. This put a light on a number of places where we were returning 500 server error code for things that are not actually server errors. Some should be a regular 200 ok with an error message, and others should be a permissions error.
9 lines
138 B
HTML
9 lines
138 B
HTML
{%extends "base/page.html"%}
|
|
{%block title%}{{title}}{%endblock%}
|
|
{%block contents%}
|
|
<h1>{{title}}</h1>
|
|
<p>
|
|
{{message}}
|
|
</p>
|
|
{%endblock%}
|