Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Feb 20, 2019. It is now read-only.
This repository was archived by the owner on Feb 20, 2019. It is now read-only.
There was an error while loading. Please reload this page.
My model has another primary key name, not id.
That's why I get the error
django.core.exceptions.FieldError: Cannot resolve keyword 'id' into field.
The name of primary key is hard coded in tasks.py:
for obj in model.objects.filter(id__in=id_list):