from __future__ import absolute_import

import os

from celery import Celery

# set the default Django settings module for the 'celery' program.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'adl_lrs.settings')

from django.conf import settings

app = Celery('lrs',
         broker='amqp://<username>:<password>@localhost:5672/<vhost_name>',
         include=['lrs.tasks'])

# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)


@app.task(bind=True)
def debug_task(self):
    print('Request: {0!r}'.format(self.request))
@@ -298,19 +298,45 @@
 name
-%3E:%3Cpassword
+_for_rabbitmq%3E:%3Cpassword_for_rabbitmq
 %3E@lo
@@ -688,8 +688,9 @@
 equest))
+%0A

Update celery.py