gva/gnuviechadmin/managemails/apps.py
Jan Dittberner 610f8976fc Refactor managemails to use signals
- use signals to trigger Celery tasks to create and delete mailboxes
- add generic TestCaseWithCeleryTasks class to handle celery task tests
  in a uniform way
2023-02-19 13:45:30 +01:00

25 lines
567 B
Python

"""
This module contains the :py:class:`django.apps.AppConfig` instance for the
:py:mod:`managemails` app.
"""
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class ManageMailsAppConfig(AppConfig):
"""
AppConfig for the :py:mod:`managemails` app.
"""
name = "managemails"
verbose_name = _("Mailboxes and Mail Addresses")
def ready(self):
"""
Takes care of importing the signal handlers of the :py:mod:`userdbs`
app.
"""
import managemails.signals # NOQA