python - Why django-background-tasks doesn't create table background_task_completedtask -


i run package background_task_completedtask on django 1.11 , python 3.5.2 http://django-background-tasks.readthedocs.io/en/latest/:

python: 2 & 3 django: 1.8–1.11

when run migrations got output:

- remove field creator_content_type completedtask - delete model completedtask 

and migration:

class migration(migrations.migration):      dependencies = [         ('background_task', '0001_initial'),     ]      operations = [         migrations.removefield(             model_name='completedtask',             name='creator_content_type',         ),         migrations.deletemodel(             name='completedtask',         ),     ] 

and gone when run tasks django raise error django.db.utils.operationalerror: no such table: background_task_completedtask

why django remove table , how can avoid it? should ignore migration or there more clever way?

p.s. check simial questions didn't find solution.

udp can fake migration got problem. django-background-tasks register each task 2 times (i call one). suggest how cook it? or else light weight background queue django? found lot of them projects without changes few years.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -