kopia lustrzana https://gitlab.com/marnanel/chapeau
The new KepiManager class had "find" where it should have had "filter".
rodzic
b76404ea1c
commit
90d682c01c
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue