Skip to content

Commit

Permalink
Manager lookup for core IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil authored Jan 7, 2025
1 parent 95246f8 commit 1bddc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongoz/core/db/querysets/core/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def filter_query(self, exclude: bool = False, **kwargs: Any) -> "Manager":
if "__" in key:
parts = key.split("__")
lookup_operator = parts[-1]
field_name = parts[-2]
field_name = self._find_and_replace_id(parts[-2])

assert (
lookup_operator in settings.filter_operators
Expand Down

0 comments on commit 1bddc73

Please # to comment.