Skip to content

apps

django_spire.celery.apps

CeleryConfig

Bases: AppConfig

default_auto_field = 'django.db.models.BigAutoField' class-attribute instance-attribute

label = 'django_spire_celery' class-attribute instance-attribute

name = 'django_spire.celery' class-attribute instance-attribute

MODEL_PERMISSIONS = ({'name': 'celery', 'verbose_name': 'Celery', 'model_class_path': 'django_spire.celery.models.CeleryTask', 'is_proxy_model': False},) class-attribute instance-attribute

REQUIRED_APPS = ('django_spire_core',) class-attribute instance-attribute

URLPATTERNS_INCLUDE = 'django_spire.celery.urls' class-attribute instance-attribute

URLPATTERNS_NAMESPACE = 'celery' class-attribute instance-attribute

ready

Source code in django_spire/celery/apps.py
def ready(self) -> None:
    check_required_apps(self.label)