2015-01-04 22:27:43 +01:00
|
|
|
"""
|
|
|
|
This module contains the :py:class:`django.apps.AppConfig` instance for the
|
|
|
|
:py:mod:`userdbs` app.
|
|
|
|
|
|
|
|
"""
|
|
|
|
from django.apps import AppConfig
|
2023-02-18 22:46:48 +01:00
|
|
|
from django.utils.translation import gettext_lazy as _
|
2015-01-04 22:27:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
class UserdbsAppConfig(AppConfig):
|
|
|
|
"""
|
|
|
|
AppConfig for the :py:mod:`userdbs` app.
|
|
|
|
|
|
|
|
"""
|
2023-02-18 22:46:48 +01:00
|
|
|
|
|
|
|
name = "userdbs"
|
|
|
|
verbose_name = _("Database Users and their Databases")
|
2015-12-07 01:23:07 +01:00
|
|
|
|
|
|
|
def ready(self):
|
|
|
|
"""
|
|
|
|
Takes care of importing the signal handlers of the :py:mod:`userdbs`
|
|
|
|
app.
|
|
|
|
|
|
|
|
"""
|
|
|
|
import userdbs.signals # NOQA
|