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
Load image processing tasks on startup

  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
## Code Before:
from django.apps import AppConfig


class ProposalConfig(AppConfig):
    name = "proposal"

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


## Instruction:
Load image processing tasks on startup
## Code After:
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

