1from django.apps import AppConfig 2from django.utils.translation import gettext_lazy as _ 3 4from .finders import get_finders 5 6 7class WagtailEmbedsAppConfig(AppConfig): 8 name = 'wagtail.embeds' 9 label = 'wagtailembeds' 10 verbose_name = _("Wagtail embeds") 11 default_auto_field = 'django.db.models.AutoField' 12 13 def ready(self): 14 # Check configuration on startup 15 get_finders() 16