Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about django-q

Read more about django-q

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - django-q

DjangoQ fails in bitbucket pipeline

I am creating a scheduled task with DjangoQ and to register it I have this code on my apps.py: from django.apps import AppConfig class ShiftsConfig(AppConfig): name = 'shifts' def ready(self)...
test-img

Kimor

django

migration

bitbucket-pipelines

django-q

Votes: 0

Answers: 1

Latest Answer

There traceback states that the exception takes place in manage.py at line 17; which refers to coverage run manage.py test. I believe that you need to run python manage.py migrate before running the t...
test-img

Adham Nm

Mock async_task of Django-q

I'm using django-q and I'm currently working on adding tests using mock for my existing tasks. I could easily create tests for each task without depending on django-q but one of my task is calling ano...
test-img

ronil.rufo

django

unit-testing

asynchronous

mocking

django-q

Votes: 0

Answers: 1

Latest Answer

In order to prevent the task from being added to the queue, you need to change the configuration sync to True when the tests are running. You can find more info about the configurations here
test-img

Adham Nm

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved