Source code for inginious.frontend.pages.maintenance

# -*- coding: utf-8 -*-
#
# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for
# more information about the licensing of this file.

""" Maintenance page """

from inginious.frontend.pages.utils import INGIniousPage


[docs]class MaintenancePage(INGIniousPage): """ Maintenance page """
[docs] def GET(self): """ GET request """ return self.template_helper.get_renderer(False).maintenance()
[docs] def POST(self): """ POST request """ return self.template_helper.get_renderer(False).maintenance()