Skip to content

Commit 9e57078

Browse files
committed
Fix typo.
1 parent dc06aad commit 9e57078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django_mongodb_backend/fields/embedded_model_array.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ def process_rhs(self, compiler, connection):
8585
value = self.rhs
8686
if not self.get_db_prep_lookup_value_is_iterable:
8787
value = [value]
88-
# Value must be serealized based on the query target.
89-
# If querying a subfield inside tche array (i.e., a nested KeyTransform), use the output
88+
# Value must be serialized based on the query target.
89+
# If querying a subfield inside the array (i.e., a nested KeyTransform), use the output
9090
# field of the subfield. Otherwise, use the base field of the array itself.
9191
get_db_prep_value = self.lhs._lhs.output_field.get_db_prep_value
9292
return None, [

0 commit comments

Comments
 (0)