[Fixed]-Django Celery how to configure queues and see them in rabbitmq admin dashboard

1👍

I figured it out. It’s because in the celery app I’d also configured it to namespace celery configs i.e.

app.config_from_object('django.conf:settings', namespace='CELERY')

So all I needed to do was make sure the settings abided by the namespace. i.e.

CELERY_CELERY_QUEUES = (
    Queue('fetch_tweets_requests'),
)

CELERY_CELERY_ROUTES = {
    'applications.twitter.tasks.fetch_tweets': {'queue': 
    'fetch_tweets_requests' },
}

Leave a comment