@@ -0,0 +1,610 @@
+from __future__ import absolute_import, unicode_literals%0Aimport os%0Afrom celery import Celery%0A%0A# set the default Django settings module for the 'celery' program.%0Aos.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_backend_test.local_settings')%0Afrom django.conf import settings%0Aapp = Celery('django_backend_test')%0A%0A%0A# Using a string here means the worker will not have to%0A# pickle the object when using Windows.%0Aapp.config_from_object('django.conf:settings')%0Aapp.autodiscover_tasks(lambda: settings.INSTALLED_APPS)%0A%0A%0A@app.task(bind=True)%0Adef debug_task(self):%0A    print('Request: %7B0!r%7D'.format(self.request))

Add Celery file to async tasks