<filename>ultros_site/routes/admin/celery_route.py<gh_stars>1-10
# coding=utf-8
from ultros_site.base_route import BaseRoute
from ultros_site.decorators import check_admin

__author__ = "<NAME>"


class CeleryRoute(BaseRoute):
    route = "/admin/celery"

    @check_admin
    def on_get(self, req, resp):
        self.render_template(
            req, resp, "admin/celery.html",
        )

<filename>ultros_site/routes/admin/celery_route.py<gh_stars>1-10
# coding=utf-8
from ultros_site.base_route import BaseRoute
from ultros_site.decorators import check_admin

__author__ = "<NAME>"


class CeleryRoute(BaseRoute):
    route = "/admin/celery"

    @check_admin
    def on_get(self, req, resp):
        self.render_template(
            req, resp, "admin/celery.html",
        )

# coding=utf-8