Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSIDB-3579: Handle models without manager (#860)
From my testing locally, all content-types had a manager to acces the `model.objects` field, but on stage, this task is failing because there's at least one model without a manager. ``` model_class.objects.filter( AttributeError: 'NoneType' object has no attribute 'objects' ``` I've added a log message to report the error and continue the loop.
- Loading branch information