Source code for django_webix.admin_webix.apps

# -*- coding: utf-8 -*-

from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _


[docs]class SimpleAdminWebixConfig(AppConfig): """Simple AppConfig which does not do automatic discovery.""" default_site = 'django_webix.admin_webix.sites.AdminWebixSite' name = 'django_webix.admin_webix' verbose_name = _("Administration")
[docs] def ready(self): # checks.register(check_dependencies, checks.Tags.admin) # TODO # checks.register(check_admin_app, checks.Tags.admin) # TODO pass
[docs]class AdminWebixConfig(SimpleAdminWebixConfig): """The default AppConfig for admin which does autodiscovery."""
[docs] def ready(self): super().ready() self.module.autodiscover()