We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e0234 commit 12a7f2cCopy full SHA for 12a7f2c
django_mongodb/query.py
@@ -397,7 +397,7 @@ def __iter__(self):
397
annotation_fields,
398
) = self.queryset.resolve_model_init_order()
399
model_cls = self.queryset.model
400
- fields = [self.queryset.model_fields.get(c) for c in self.queryset.columns]
+ fields = [self.queryset.model_fields.get(c.column) for c in self.queryset.columns]
401
converters = compiler.get_converters(
402
[f.get_col(f.model._meta.db_table) if f else None for f in fields]
403
)
0 commit comments