django-background-tasks icon indicating copy to clipboard operation
django-background-tasks copied to clipboard

OperationalError: no such table: background_task

Open Lillo96 opened this issue 4 years ago • 1 comments

Hello. I've this error: "return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: no such table: background_task" with django 3.0.6 and Python 3.7. Here facing problems when making makemigrations. I have already tried to reset the migrations but te problem persist. I have installed the library following the docs instructions: https://django-background-tasks.readthedocs.io/en/latest/

Lillo96 avatar Sep 09 '20 17:09 Lillo96

I had the same issue, my workaround was to comment all backgorund_tasks related code, do the migrations and then uncomment it. Very unhappy about this approach, but works just fine.

xtlc avatar Jan 19 '21 08:01 xtlc