DirectReport.browserview package
Submodules
DirectReport.browserview.app module
- DirectReport.browserview.app.delete(id=None)[source]
Deletes a specific entry and redirects to the list page.
- Parameters:
id – The ID of the entry to delete.
- Returns:
Redirects to the ‘/list’ route.
- DirectReport.browserview.app.detail(id=None)[source]
Retrieves and renders the details of a specific entry.
- Parameters:
id – The ID of the entry to display.
- Returns:
Rendered HTML template for the entry details page.
- DirectReport.browserview.app.home()[source]
Renders the homepage of the web application.
- Returns:
Rendered HTML template for the homepage.
- DirectReport.browserview.app.list()[source]
Retrieves and renders the list of all entries.
- Returns:
Rendered HTML template for the list page.