mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-24 06:48:35 +02:00
19 lines
461 B
Python
19 lines
461 B
Python
"""AppConfig for amavis."""
|
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
class AmavisConfig(AppConfig):
|
|
"""App configuration."""
|
|
|
|
name = "modoboa.amavis"
|
|
verbose_name = "Modoboa amavis frontend"
|
|
|
|
def ready(self):
|
|
# Import these to force registration of checks and signals
|
|
from . import checks # NOQA:F401
|
|
from . import handlers # NOQA:F401
|
|
from modoboa.amavis.app_settings import load_settings
|
|
|
|
load_settings()
|