.. _f-qcmapp: module ``apps.qcm.qcm_app`` =========================== .. inheritance-diagram:: mathenjeu.apps.qcm.qcm_app Short summary +++++++++++++ module ``mathenjeu.apps.qcm.qcm_app`` Starts an application. :githublink:`%|py|6` Classes +++++++ +-----------------------------------------------------+------------------------------------------+ | class | truncated documentation | +=====================================================+==========================================+ | :class:`QCMApp ` | Implements routes for a web application. | +-----------------------------------------------------+------------------------------------------+ Methods +++++++ +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | method | truncated documentation | +=================================================================================+============================================================================================+ | :py:meth:`__init__ ` | | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`answer ` | Captures an answer. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`cleanup ` | Cleans up. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`event ` | This route does not return anything interesting except a blank page, but it logs | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`lastpage ` | Defines the last page. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`main ` | Defines the main page. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`not_found ` | Returns an :epkg:`HTTP 404` page. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`on_error ` | An example error. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`page_context ` | Returns the page context before applying any template. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`qcm ` | Defines the main page. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`server_error ` | Returns an :epkg:`HTTP 500` page. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`startup ` | Startups. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`unknown_game ` | Returns an answer for somebody looking to access the questions without being authentified. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :meth:`unlogged_response ` | Returns an answer for somebody looking to access the questions without being authentified. | +---------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mathenjeu.apps.qcm.qcm_app :members: :special-members: __init__ :show-inheritance: