from karenina import modules


class Admin(modules.InstallableModule):
    icon = "mdi-action-settings-applications"
    order = 1000

    @property
    def label(self):
        return 'Administration'

    def has_perm(self, user):
        return user.is_staff
from karenina import modules


class Admin(modules.Module):
    icon = "mdi-action-settings-applications"
    order = 1000

    @property
    def label(self):
        return 'Administration'

    def has_perm(self, user):
        return user.is_staff
Add module declaration for karenina
Add module declaration for karenina
