magpie.ui.home.views

Classes

HomeViews

Base methods for Magpie UI pages.

Module Contents

class magpie.ui.home.views.HomeViews(request)[source]

Bases: magpie.ui.utils.BaseViews

Base methods for Magpie UI pages.

home_view()[source]
error_view()[source]

Generates the wrapped API error view for cleaner error page returned by the UI.

Renders a controlled UI error page with viewable details of the error generated by an API sub-request or some generic processing operation. The API HTTP error status code is forwarded to this UI response.