Document how to use configuration from django settings
Author: thenewguyCreated Jul 16, 2021Updated Jul 4, 2024
Labelsenhancement
I haven't worked with flower in some time and thought that I remember it used to be configured from the celery configuration file. Is there any baked in way to pull the configuration variables from a Django settings file?
For example, Celery is like:
from celery import Celery
app = Celery('project')
app.config_from_object('django.conf:settings', namespace='CELERY')Is it as simple as prefixing the options with FLOWER_ and adding them to the celery config?
It isn't very clear from reading the docs unless the flowerconfig.py file is the only way to do it?
Source: mher/flower