Skip to content

Commit e9ae1a5

Browse files
committed
Fix typo in EmbeddedModelArrayField.contribute_to_class() comment
1 parent 3347f67 commit e9ae1a5

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
@@ -23,8 +23,8 @@ def contribute_to_class(self, cls, name, private_only=False, **kwargs):
2323
super().contribute_to_class(cls, name, private_only=private_only, **kwargs)
2424

2525
if not cls._meta.abstract:
26-
# If the embedded_model argument is a string, resolve it to the
27-
# actual model class.
26+
# If embedded_models contains any strings, replace them with the actual
27+
# model classes.
2828
def _resolve_lookup(_, resolved_model):
2929
self.embedded_model = resolved_model
3030

0 commit comments

Comments
 (0)