Bug: `read_frame` does not work if at least one manager is not named "objects"
Opened this issue · 0 comments
EmperorArthur commented
This means if a custom manager is used, without using the extremely generic "objects" the whole thing does not work.
Suggested Fix
The real problem is in utils.replace_pk
.
The fix is to replace model.objects
with model._meta.default_manager
. This is how I believe Django does things internally when a manager is not specified.