Jan Dittberner
610f8976fc
- use signals to trigger Celery tasks to create and delete mailboxes - add generic TestCaseWithCeleryTasks class to handle celery task tests in a uniform way
25 lines
567 B
Python
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
|