from django.apps import AppConfig


class BaseModulesConfig(AppConfig):
    name = 'examples.modules'
    viebose_name = 'Examples Modules'


class ModulesDiscoverConfig(BaseModulesConfig):
    """
    Default AppConfig for Examples which does autodiscovery
    """
    def ready(self):
        super(ModulesDiscoverConfig, self).ready()
        self.module.autodiscover()
