Skip to content

Commit c4212e9

Browse files
committed
Edits.
1 parent ac02038 commit c4212e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django_mongodb/compiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, *args, **kwargs):
3434

3535
def _unfold_column(self, col):
3636
"""
37-
Flattens a field by returning its target or by replacing dots with GROUP_SEPARATOR
37+
Flatten a field by returning its target or by replacing dots with GROUP_SEPARATOR
3838
for foreign fields.
3939
"""
4040
if self.collection_name == col.alias:
@@ -45,7 +45,7 @@ def _unfold_column(self, col):
4545

4646
def _fold_columns(self, unfold_columns):
4747
"""
48-
Converts flat columns into a nested dictionary, grouping fields by table names.
48+
Convert flat columns into a nested dictionary, grouping fields by table names.
4949
"""
5050
result = defaultdict(dict)
5151
for key in unfold_columns:

0 commit comments

Comments
 (0)