Skip to content

Documentation for 404.html, 500.html templates #965

@simonw

Description

@simonw

This mechanism is not documented:

datasette/datasette/app.py

Lines 1119 to 1129 in 30b98e4

templates = ["500.html"]
if status != 500:
templates = ["{}.html".format(status)] + templates
info.update(
{
"ok": False,
"error": message,
"status": status,
"title": title,
}
)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions