flower icon indicating copy to clipboard operation
flower copied to clipboard

Document how to use configuration from django settings

Open thenewguy opened this issue 2 years ago • 1 comments

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?

thenewguy avatar Jul 16 '21 20:07 thenewguy

Hi! Any update here? I'm all pretty interested in the result of this ticket

phildini avatar Oct 30 '21 19:10 phildini