Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6847115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:42:21+00:00 2026-05-27T00:42:21+00:00

I just started up django-celery and got this warning: DeprecationWarning: The `celery.decorators` module and

  • 0

I just started up django-celery and got this warning:

DeprecationWarning: 
The `celery.decorators` module and the magic keyword arguments
are pending deprecation and will be deprecated in 2.4, then removed
in 3.0.

`task.request` should be used instead of magic keyword arguments,
and `celery.task.task` used instead of `celery.decorators.task`.

See the 2.2 Changelog for more information.

Here’s my test task:

from celery.decorators import task
@task()
def myProcessingFunction():
  print "Zing!"
  return 1

I’m calling it from a view with:

myProcessingFunction.delay()

I can’t find any documentation for this error. What’s going on?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:42:21+00:00Added an answer on May 27, 2026 at 12:42 am

    It’s telling you that the decorator you are using (task()) is going to be taken out of subsequent versions of celery so you should look to remove it from your code:

    celery.task.taskshould be used instead ofcelery.decorators.task`

    so

    from celery.task import task # instead of celery.decorators
    @task()
    def myProcessingFunction():
        print "Zing!"
        return 1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just started Django and Python 50 hours ago ;-) so this might be
Hopefully this isn't too ugly, I just started moving over from PHP to Django,
I just started learning python and django and I have a question. I got
I just started using django for development. At the moment, I have the following
I've just started playing with Django and am loosely following the tutorial with my
I've just started building a prototype application in Django. I started out by working
I just finished the Django tutorial and started work on my own project, however,
Okay I just started with Django and it's totally different from PHP. I installed
I just started playing with Django today and so far am finding it rather
I have just started implementing signal listeners in a django project. While I understand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.