from django.apps import AppConfig
from django.core.checks import register

from . import checks


class RouteConfig(AppConfig):
    """The AppConfig for conman routes."""
    name = 'conman.routes'

    def ready(self):
        """Register checks for conman routes."""
        register(checks.polymorphic_installed)
        register(checks.subclasses_available)
        register(checks.subclasses_in_admin)

[((277, 315), 'django.core.checks.register', 'register', (['checks.polymorphic_installed'], {}), '(checks.polymorphic_installed)\n', (285, 315), False, 'from django.core.checks import register\n'), ((324, 361), 'django.core.checks.register', 'register', (['checks.subclasses_available'], {}), '(checks.subclasses_available)\n', (332, 361), False, 'from django.core.checks import register\n'), ((370, 406), 'django.core.checks.register', 'register', (['checks.subclasses_in_admin'], {}), '(checks.subclasses_in_admin)\n', (378, 406), False, 'from django.core.checks import register\n')]