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

  • SEARCH
  • Home
  • 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 9150581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:37:49+00:00 2026-06-17T11:37:49+00:00

1) I am trying to build an application using Celery (with RabbitMQ as broker)

  • 0

1) I am trying to build an application using Celery (with RabbitMQ as broker) and Django – using MongoDB (mongoengine) as the database for the model. So the requests received by the web server will be transformed in tasks and queued with the help of Celery to be executed by the workers.

I followed the following tutorials:

http://docs.celeryproject.org/en/master/django/first-steps-with-django.html#configuring-your-django-project-to-use-celery

and

https://mongoengine-odm.readthedocs.org/en/latest/django.html

but I still get the following error:

ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value.

As mentioned in both tutorials, settings.DATABASES should be commented and instead of it there should be only

mongoengine.connect(‘myDB’)

and yet the error is exactly about not having the DATABASES configured.

(Apart from that, I have not configure any results-backend for Celery.)

Can anybody help me with an advice as to what I have to set and where?

2) And another question is: in the projects involving only Celery there is always a Celery instance. But in the tutorials about building web applications with Django and Celery I haven’t seen any mention of this. Do I have to explicitly instantiate Celery or is this done somewhere else by default?

  • 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-06-17T11:37:49+00:00Added an answer on June 17, 2026 at 11:37 am

    1) In case anybody is interested in the answer, I finally managed to get it working, but I am not sure if I understood correctly what happened.

    So apparently the problem was that I haven’t set the result backend for Celery. I got rid of the error as soon as I put the following line in settings.py:

    CELERY_RESULT_BACKEND = “amqp”

    2) My project (I am using djcelery) is working without me explicitly instantiating Celery. I assume this is done somewhere in the back by the framework.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a 4-tier Web-Application in Java. I'm using the Hibernate Framework
I am trying to build a free web application using ruby/rails It should be
I'm trying to build and deploy a web application using MSBuild and TeamCity. I've
I am trying to build a Web application using jQuery Mobile. When testing on
I'm trying to build database application using GWT 1.5.3. I use JPA annotations with
I'm trying to build a simple web application using Node.js and CouchDb. The application
I am trying to build an iPhone web application using ASP.NET. The page is
I am trying to build an java web application using struts2 and tiles in
I was new to WCF, i was trying to build a sample application using
I'm trying to build my application for GoogleAppEngine using maven. I've added the following

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.