On 3/21/06, Max Battcher <[EMAIL PROTECTED]> wrote:
>
> limodou wrote:
> > I seen that in the db-api.txt document,
> >
> > neNot equal to.
> >
> > But when I want to get the users who are not the superuser, I got the
> > error below:
> >
> > Got invalid lookup_type: 'ne'
> >
> > The statement
limodou wrote:
> I seen that in the db-api.txt document,
>
> neNot equal to.
>
> But when I want to get the users who are not the superuser, I got the
> error below:
>
> Got invalid lookup_type: 'ne'
>
> The statement is:
>
> blogers = User.objects.all().filter(is_superuser__ne=True)
I seen that in the db-api.txt document,
ne Not equal to.
But when I want to get the users who are not the superuser, I got the
error below:
Got invalid lookup_type: 'ne'
The statement is:
blogers = User.objects.all().filter(is_superuser__ne=True)
And I check the code, and there is n