gva/gnuviechadmin/websites/apps.py

26 lines
533 B
Python
Raw Normal View History

"""
This module contains the :py:class:`django.apps.AppConfig` instance for the
:py:mod:`websites` app.
"""
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class WebsitesAppConfig(AppConfig):
"""
AppConfig for the :py:mod:`websites` app.
"""
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