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.

no such table: background_task_completedtask

See original GitHub issue

i did manage.py migrate

  Applying background_task.0001_initial... OK
  Applying background_task.0002_auto_20170927_1109... OK
  Applying background_task.0003_auto_20190330_2147... OK

Yet when running python manage.py process_tasks I get table not found

django.db.utils.OperationalError: no such table: background_task_completedtask

versions

Django==2.1.7
django-background-tasks==1.2.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
cnusscommented, Oct 5, 2019

This went away once i added django.contrib.admin back to INSTALLED_APPS.

I think it’s because class CompletedTask is included in admin.py, and nowhere else.

Read more comments on GitHub >

github_iconTop Results From Across the Web

no such table: background_task - clean way to deploy? - ...
My workaround for now is to rename the tasks.py to tasks and to comment the part in the urls.py where I call the...
Read more >
Django Background Tasks - Read the Docs
Django Background Task is a databased-backed work queue for Django, loosely based around Ruby's DelayedJob library. This project was adopted and adapted ...
Read more >
Background tasks with hosted services in ASP.NET Core
Background tasks in the queue are dequeued and executed in BackgroundProcessing . Work items are awaited before the service stops in StopAsync ....
Read more >
Django & Celery - no such table
I am attempting to create a couple tasks with Celery that post data to a Django model, I have everything functioning except for...
Read more >
Monitoring and Instrumentation - Spark 3.3.1 Documentation
Executor Task Metrics; Executor Metrics; API Versioning Policy ... Please note that Spark History Server may not compact the old event log files...
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