Deprecate DjangoLoader
See original GitHub issueCurrently, we have two ways of running Django with Celery:
DjangoLoader
(viadjcelery.setup_loader()
) as written in README.DjangoFixup
which is applied automatically by Celery 3.1+, when using Django and notDjangoLoader
.
AFAICT, the only benefit of using DjangoLoader
over DjangoFixup
is being able to use CELERY_RESULT_BACKEND = 'database'
instead of CELERY_RESULT_BACKEND = 'djcelery.backends.database:DatabaseBackend'
.
So, maybe it would make sense to deprecate DjangoLoader
and have the one way to integrate Django and Celery?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Django Deprecation Timeline
Django Deprecation Timeline¶. This document outlines when various pieces of Django will be removed or altered in a backward incompatible way, ...
Read more >TEMPLATE_LOADERS deprecated — Python Anti-Patterns ...
TEMPLATE_LOADERS deprecated¶. This setting is deprecated since Django version 1.8. Set the LOADERS option of a DjangoTemplates backend instead.
Read more >3YOURMIND/django-deprecate-fields - GitHub
This package allows deprecating model fields and allows removing them in a backwards compatible manner. - GitHub - 3YOURMIND/django-deprecate-fields: This ...
Read more >[Django] #25120: Deprecate template.loaders.eggs.Loader
minimum, this should involve Django 1.9 starting the deprecation process for the egg template loader, and any other parts of Django which contain...
Read more >FutureWarning: `TemplateForHostMiddleware` is deprecated ...
Your TEMPLATES setting should look like this (notice the "loaders" key): TEMPLATES = [ { "BACKEND": "django.template.backends.django.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ask For me, one big advantage of celerycam over Flower is that I don’t need to run a separate HTTP server and manage another set of auth credentials. I don’t have a lot of tasks so the database usage is low; and I don’t require a real-time API.
celerycam works now. So why not make an extension out of it and let people choose what works better for them? Or is it too much work to port it to Celery 4.0?
Of course, embedding Flower into admin would also solve my problems 😃
@auvipy Can you explain what do you have in mind? And how it will be different from Flower or celerycam?