app.views

Attributes

public_bp

limiter

Functions

load_user(user_id)

page_not_found(e)

page_not_found(e)

page_not_found(e)

rate_limited(e)

server_error(e)

favicon()

Serve the favicon.ico file.

index(path)

Serve the index page or dynamically route for other pages with existing templates.

Module Contents

app.views.public_bp[source]
app.views.load_user(user_id)[source]
app.views.page_not_found(e)[source]
app.views.page_not_found(e)[source]
app.views.page_not_found(e)[source]
app.views.rate_limited(e)[source]
app.views.server_error(e)[source]
app.views.limiter[source]
app.views.favicon()[source]

Serve the favicon.ico file.

app.views.index(path)[source]

Serve the index page or dynamically route for other pages with existing templates.

Parameters:

path (str) – The path to the requested page.

Returns:

The rendered HTML template for the requested page.

Return type:

Response