March 2020
Intermediate to advanced
608 pages
17h 17m
English
Follow these steps to create and use the app configuration:
# myproject/apps/magazine/apps.pyfrom django.apps import AppConfigfrom django.utils.translation import gettext_lazy as _class MagazineAppConfig(AppConfig): name = "myproject.apps.magazine" verbose_name = _("Magazine") def ready(self): from . import signals
# myproject/apps/magazine/__init__.pydefault_app_config = "myproject.apps.magazine.apps.MagazineAppConfig"
# myproject/apps/magazine/signals.pyfrom django.db.models.signals import ...