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
Add module declaration for karenina