old_contents: from __future__ import absolute_import
  
  import os
  
  from celery import Celery
  
  os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'eventkit_cloud.settings.dev')
  
  from django.conf import settings  # noqa
  
  app = Celery('eventkit_cloud')
  
  app.config_from_object('django.conf:settings')
  app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
  
  app.conf.update(
      CELERY_RESULT_BACKEND='djcelery.backends.database:DatabaseBackend',
  )
  
new_contents: from __future__ import absolute_import
  
  import os
  
  from celery import Celery
  
  os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'eventkit_cloud.settings.prod')
  
  from django.conf import settings  # noqa
  
  app = Celery('eventkit_cloud')
  
  app.config_from_object('django.conf:settings')
  app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
  
  app.conf.update(
      CELERY_RESULT_BACKEND='djcelery.backends.database:DatabaseBackend',
  )
  
subject: use prod not dev