Thanks to both: I felt I was missing something but couldn't find where
to look :-)
Bob
On Mar 19, 3:55 pm, Bill Freeman wrote:
> To expand on DR's answer slightly, the '=' in 'filter(crcWaarde=0)' is
> not a comparison
> operator. All arguments to filter need to be of the
To expand on DR's answer slightly, the '=' in 'filter(crcWaarde=0)' is
not a comparison
operator. All arguments to filter need to be of the form
"'leagal_identifier'=value". This
is python syntax, nothing to do with django. Think of this '=' as
being more akin to
assignment.
The answer to your
On Mar 19, 1:22 pm, BobAalsma wrote:
> In models.py, when I use
> class GevondenManager(models.Manager):
> def get_query_set(self):
> return
> super(GevondenManager,self).get_query_set().filter(crcWaarde
> = 0)
> I get proper answers.
>
> However, I
In models.py, when I use
class GevondenManager(models.Manager):
def get_query_set(self):
return
super(GevondenManager,self).get_query_set().filter(crcWaarde
= 0)
I get proper answers.
However, I want to filter on "not equal to" and this does not seem to
work. How to
4 matches
Mail list logo