question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecate DjangoLoader

See original GitHub issue

Currently, we have two ways of running Django with Celery:

  • DjangoLoader (via djcelery.setup_loader()) as written in README.
  • DjangoFixup which is applied automatically by Celery 3.1+, when using Django and not DjangoLoader.

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:open
  • Created 7 years ago
  • Reactions:1
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
vytisbcommented, Oct 20, 2016

@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 😃

0reactions
vytisbcommented, Jan 9, 2017

@auvipy Can you explain what do you have in mind? And how it will be different from Flower or celerycam?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found