views

Module: espressodb.documentation.views

Contains views for the documentation app.

class DocView(**kwargs)[source]

Renders the documentation page for apps present in EspressoDBs models.

Uses espressodb.base.utilities.apps.get_apps_slug_map() to locate apps.

get_context_data(**kwargs)[source]

Adds app_name from slug and adds all app model slugs to conext.

Return type

Dict[str, Any]

template_name = 'doc-base.html'

The used template file.

SLUG_MAP = {}

Maps app-slugs to apps