4 ms·
Can't see how it's different from: (in a manager) def find_by_foo(self, arg): return self.filter(foo=arg)[:1]
by caioariede 14y ago
Can't see how it's different from:
(in a manager)
def find_by_foo(self, arg):
return self.filter(foo=arg)[:1]
- riffraff 14y agoplease reread what I or others wrote, cause I don't understand why you can't see the difference. What you wrote is exactly what I wrote that a finder method _could be but it's not and that is the issue_