django-rq icon indicating copy to clipboard operation
django-rq copied to clipboard

Django dumpdata will fail because of unmanaged model

Open ronaldoldenburger opened this issue 1 year ago • 1 comments
trafficstars

When dumping data in django (manage.py dumpdata) an error will occur:

CommandError: Unable to serialize database: (1146, "Table 'xxx.django_rq_queue' doesn't exist")

This is because the django-rq has a model with managed = False, this will make Django think the table does exists, but was not created by itself.

For now ignoring the django_rq app during dumpdata will work: ./manage.py dumpdata -e django_rq

Relevant other issues: #552

ronaldoldenburger avatar Nov 22 '23 10:11 ronaldoldenburger

I'd welcome a PR to fix this issue :)

selwin avatar Nov 26 '23 11:11 selwin