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 50782dd commit e646e2bCopy full SHA for e646e2b
.github/workflows/test-python.yml
@@ -69,6 +69,7 @@ jobs:
69
python3 django_repo/tests/runtests.py --settings mongodb_settings -v 2
70
basic
71
empty
72
+ defer.tests.DeferTests.test_only_values_does_not_defer
73
from_db_value
74
lookup.tests.LookupTests.test_escaping
75
model_fields
django_mongodb/query.py
@@ -129,7 +129,7 @@ def delete(self):
129
def get_cursor(self):
130
if self.query.low_mark == self.query.high_mark:
131
return []
132
- fields = [col.field.name for col in self.columns] if self.columns else None
+ fields = [col.target.column for col in self.columns] if self.columns else None
133
cursor = self.collection.find(self.mongo_query, fields)
134
if self.ordering:
135
cursor.sort(self.ordering)
0 commit comments