from django.apps import AppConfig


class ProposalConfig(AppConfig):
    name = "proposal"

    def ready(self):
        # Register tasks with Celery:
        from . import tasks
        from . import event_tasks


from django.apps import AppConfig


class ProposalConfig(AppConfig):
    name = "proposal"

    def ready(self):
        # Register tasks with Celery:
        from . import tasks
        from . import event_tasks
        from . import image_tasks


Load image processing tasks on startup