From 90d682c01c94927457c84a1b152ac8fd70655672 Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Fri, 13 Sep 2019 22:31:08 +0100 Subject: [PATCH] The new KepiManager class had "find" where it should have had "filter". --- django_kepi/models/acobject.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django_kepi/models/acobject.py b/django_kepi/models/acobject.py index a17dc6b..beeb690 100644 --- a/django_kepi/models/acobject.py +++ b/django_kepi/models/acobject.py @@ -28,9 +28,9 @@ class KepiManager(PolymorphicManager): # without their f_... prefixes, and also # transparently on ThingFields. - def find_local_only(self, *args, **kwargs): + def filter_local_only(self, *args, **kwargs): self._adjust_kwargs_for_local_only(kwargs) - return self.find(*args, **kwargs) + return self.filter(*args, **kwargs) def get_local_only(self, *args, **kwargs): self._adjust_kwargs_for_local_only(kwargs)