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)

[((13, 8, 13, 46), 'django.core.checks.register', 'register', ({(13, 17, 13, 45): 'checks.polymorphic_installed'}, {}), '(checks.polymorphic_installed)', False, 'from django.core.checks import register\n'), ((14, 8, 14, 45), 'django.core.checks.register', 'register', ({(14, 17, 14, 44): 'checks.subclasses_available'}, {}), '(checks.subclasses_available)', False, 'from django.core.checks import register\n'), ((15, 8, 15, 44), 'django.core.checks.register', 'register', ({(15, 17, 15, 43): 'checks.subclasses_in_admin'}, {}), '(checks.subclasses_in_admin)', False, 'from django.core.checks import register\n')]