Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set beatx_store with django #3

Open
ba1dr opened this issue Mar 26, 2018 · 0 comments · May be fixed by #9
Open

Cannot set beatx_store with django #3

ba1dr opened this issue Mar 26, 2018 · 0 comments · May be fixed by #9

Comments

@ba1dr
Copy link

ba1dr commented Mar 26, 2018

Django' settings imports only UPPERCASED settings from settings.py file.
Thus, we can setup CELERYBEAT_SCHEDULER, but cannot do this for beatx_store.

This is significant when you do this:

app.config_from_object('django.conf:settings')

As a workaround I do:

from django.conf import settings
...
settings.CELERYBEAT_SCHEDULER = 'beatx.schedulers.Scheduler'
settings.beatx_store = settings.BROKER_URL
app.config_from_object(settings)

It would be useful to have an ability to set variable like CELERYBEATX_STORE to be used with Django.

@BillSchumacher BillSchumacher linked a pull request Aug 15, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant