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 __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.apps import AppConfig
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
|
|
|
|
|
|
class UserdbsAppConfig(AppConfig):
|
|
|
|
"""
|
|
|
|
AppConfig for the :py:mod:`userdbs` app.
|
|
|
|
|
|
|
|
"""
|
|
|
|
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
|