:py:mod:`oioioi.contestlogo.controllers` ======================================== .. py:module:: oioioi.contestlogo.controllers Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: oioioi.contestlogo.controllers.LogoContestControllerMixin .. py:class:: LogoContestControllerMixin Bases: :py:obj:`object` Sets default empty contest logo and icons settings. .. py:method:: default_contestlogo_url() Returns a URL of an image which will be used as the contest logo. If a contest admin specifies a contest logo URL in the contest settings view, it will be used instead of the one returned by this function. The default implementation returns None. .. py:method:: default_contestlogo_link() Returns a contest logo link. If a contest admin specifies a contest logo link in the contest settings view, it will be used instead of the one returned by this function. The default implementation returns an empty string. .. py:method:: default_contesticons_urls() Returns a list of URLs of images which will be used to decorate the user side menu. If a contest admin adds some icon urls in the contest settings view, they will be used instead of the urls returned by this function. The default implementation returns an empty list.