.. _f-handlersml: module ``handlersml`` ===================== .. inheritance-diagram:: lightmlboard.handlersml Short summary +++++++++++++ module ``lightmlboard.handlersml`` Defines handlers for a Tornado application. :githublink:`%|py|5` Classes +++++++ +----------------------------------------------------------------------------+-------------------------------------------------------+ | class | truncated documentation | +============================================================================+=======================================================+ | :class:`_BaseRequestHandler ` | Base handler. Returns the user. | +----------------------------------------------------------------------------+-------------------------------------------------------+ | :class:`_TemplateHandler ` | Defines the main page handler. | +----------------------------------------------------------------------------+-------------------------------------------------------+ | :class:`CompetitionHandler ` | Handlers for the page on competitions. | +----------------------------------------------------------------------------+-------------------------------------------------------+ | :class:`LoginHandler ` | Login Handler. | +----------------------------------------------------------------------------+-------------------------------------------------------+ | :class:`LogoutHandler ` | Logout Handler. | +----------------------------------------------------------------------------+-------------------------------------------------------+ | :class:`MainHandler ` | Handlers for the main page. | +----------------------------------------------------------------------------+-------------------------------------------------------+ | :class:`SubmitForm ` | Handlers for the form to upload dataset. | +----------------------------------------------------------------------------+-------------------------------------------------------+ | :class:`UploadData ` | Upload data. Handlers for the form to upload dataset. | +----------------------------------------------------------------------------+-------------------------------------------------------+ Properties ++++++++++ +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | property | truncated documentation | +=================================================================================+======================================================================================================================+ | :meth:`cookies ` | An alias for `self.request.cookies <.httputil.HTTPServerRequest.cookies>`. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`cookies ` | An alias for `self.request.cookies <.httputil.HTTPServerRequest.cookies>`. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`cookies ` | An alias for `self.request.cookies <.httputil.HTTPServerRequest.cookies>`. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`cookies ` | An alias for `self.request.cookies <.httputil.HTTPServerRequest.cookies>`. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`cookies ` | An alias for `self.request.cookies <.httputil.HTTPServerRequest.cookies>`. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`cookies ` | An alias for `self.request.cookies <.httputil.HTTPServerRequest.cookies>`. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`cookies ` | An alias for `self.request.cookies <.httputil.HTTPServerRequest.cookies>`. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`cookies ` | An alias for `self.request.cookies <.httputil.HTTPServerRequest.cookies>`. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`current_user ` | The authenticated user for this request. This is set in one of two ways: | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`current_user ` | The authenticated user for this request. This is set in one of two ways: | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`current_user ` | The authenticated user for this request. This is set in one of two ways: | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`current_user ` | The authenticated user for this request. This is set in one of two ways: | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`current_user ` | The authenticated user for this request. This is set in one of two ways: | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`current_user ` | The authenticated user for this request. This is set in one of two ways: | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`current_user ` | The authenticated user for this request. This is set in one of two ways: | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`current_user ` | The authenticated user for this request. This is set in one of two ways: | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`locale ` | The locale for the current session. Determined by either `get_user_locale`, which you can override to set ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`locale ` | The locale for the current session. Determined by either `get_user_locale`, which you can override to set ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`locale ` | The locale for the current session. Determined by either `get_user_locale`, which you can override to set ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`locale ` | The locale for the current session. Determined by either `get_user_locale`, which you can override to set ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`locale ` | The locale for the current session. Determined by either `get_user_locale`, which you can override to set ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`locale ` | The locale for the current session. Determined by either `get_user_locale`, which you can override to set ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`locale ` | The locale for the current session. Determined by either `get_user_locale`, which you can override to set ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`locale ` | The locale for the current session. Determined by either `get_user_locale`, which you can override to set ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`settings ` | An alias for `self.application.settings `. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`settings ` | An alias for `self.application.settings `. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`settings ` | An alias for `self.application.settings `. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`settings ` | An alias for `self.application.settings `. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`settings ` | An alias for `self.application.settings `. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`settings ` | An alias for `self.application.settings `. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`settings ` | An alias for `self.application.settings `. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`settings ` | An alias for `self.application.settings `. | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`xsrf_token ` | The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an '_xsrf' ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`xsrf_token ` | The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an '_xsrf' ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`xsrf_token ` | The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an '_xsrf' ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`xsrf_token ` | The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an '_xsrf' ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`xsrf_token ` | The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an '_xsrf' ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`xsrf_token ` | The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an '_xsrf' ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`xsrf_token ` | The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an '_xsrf' ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | :meth:`xsrf_token ` | The XSRF-prevention token for the current user/session. To prevent cross-site request forgery, we set an '_xsrf' ... | +---------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ Static Methods ++++++++++++++ +----------------------------------------------------------+-------------------------+ | staticmethod | truncated documentation | +==========================================================+=========================+ | :meth:`get ` | Page. | +----------------------------------------------------------+-------------------------+ | :meth:`post ` | post | +----------------------------------------------------------+-------------------------+ | :meth:`post ` | post | +----------------------------------------------------------+-------------------------+ Methods +++++++ +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | method | truncated documentation | +=========================================================================================+================================================================================================+ | :py:meth:`__init__ ` | Constructor. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | Expected additional parameters: | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | Expected additional parameters: | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | Constructor. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | Constructor. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | Constructor. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | Constructor. See `web.py `_. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | Constructor. See `web.py `_. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`_process_kwargs ` | Separates attributes templates / tornado. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`_process_kwargs ` | Separates attributes templates / tornado. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`_process_kwargs ` | Separates attributes templates / tornado. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`_process_kwargs ` | Separates attributes templates / tornado. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`_process_kwargs ` | Separates attributes templates / tornado. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`_process_kwargs ` | Separates attributes templates / tornado. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :py:meth:`_process_kwargs ` | Separates attributes templates / tornado. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get ` | Returns the content page. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get ` | Page. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get ` | Returns the content page. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get ` | Returns the content page. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get ` | Returns the content page. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get ` | Returns the content page. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get_current_user ` | Returns the current user. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get_current_user ` | Returns the current user. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get_current_user ` | Returns the current user. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get_current_user ` | Returns the current user. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get_current_user ` | Returns the current user. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get_current_user ` | Returns the current user. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get_current_user ` | Returns the current user. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`get_current_user ` | Returns the current user. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`info ` | Log information. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`info ` | Log information. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`info ` | Log information. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`info ` | Log information. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`info ` | Log information. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`info ` | Log information. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`info ` | Log information. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`info ` | Log information. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ | :meth:`set_current_user ` | Sets the current user or clear the cookie if None. | +-----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: lightmlboard.handlersml :members: :special-members: __init__ :show-inheritance: