2015-01-27 18:51:04 +01:00
|
|
|
"""
|
|
|
|
This module contains the :py:class:`django.apps.AppConfig` instance for the
|
|
|
|
:py:mod:`websites` app.
|
|
|
|
|
|
|
|
"""
|
|
|
|
from django.apps import AppConfig
|
2023-02-18 22:46:48 +01:00
|
|
|
from django.utils.translation import gettext_lazy as _
|
2015-01-27 18:51:04 +01:00
|
|
|
|
|
|
|
|
|
|
|
class WebsitesAppConfig(AppConfig):
|
|
|
|
"""
|
|
|
|
AppConfig for the :py:mod:`websites` app.
|
|
|
|
|
|
|
|
"""
|
2023-02-18 22:46:48 +01:00
|
|
|
|
|
|
|
name = "websites"
|
|
|
|
verbose_name = _("Websites")
|
2023-04-17 19:41:42 +02:00
|
|
|
|
|
|
|
def ready(self):
|
|
|
|
"""
|
|
|
|
Takes care of importing the signal handlers of the :py:mod:`websites`
|
|
|
|
app.
|
|
|
|
|
|
|
|
"""
|
|
|
|
import websites.signals # NOQA
|