Thanks, and noted for the future. I went with a regular BooleanField
defaulting to False.

On Sat, Sep 11, 2010 at 7:08 AM, Preston Holmes <[email protected]> wrote:

>
>
> On Sep 10, 2:43 pm, Christos Jonathan Hayward
> <[email protected]> wrote:
> > P.S. Setting:
> >
> > .filter(is_invisible__in = [False, None])
>
> how about:
>
> .exclude(is_invisible__exact = True)
>
> >
> > is not working as intended; I seem to be getting no matches when I should
> be
> > getting matches.
> >
> > On Fri, Sep 10, 2010 at 4:19 PM, Christos Jonathan Hayward <
> >
> >
> >
> >
> >
> > [email protected]> wrote:
> > > How can I filter for instances having a NullBooleanField that is not
> True
> > > (i.e. is either False or a null)?
> >
> > > --
> > > [image: Christos Jonathan Hayward] <http://jonathanscorner.com/>
> > > Christos Jonathan Hayward, an Orthodox Christian author.
> >
> > > Author Bio <http://jonathanscorner.com/author/> • Books<
> http://cjshayward.com/>
> > >  • *Email <[email protected]>* • Facebook<
> http://www.facebook.com/christos.jonathan.hayward>
> > >  • LinkedIn <http://www.linkedin.com/in/jonathanhayward> • Twitter<
> http://twitter.com/JonathansCorner>
> > >  • *Web <http://jonathanscorner.com/>* • What's New?<
> http://jonathanscorner.com/>
> > > I invite you to visit my "theology, literature, and other creative
> works"
> > > site.
> >
> > --
> > [image: Christos Jonathan Hayward] <http://jonathanscorner.com/>
> > Christos Jonathan Hayward, an Orthodox Christian author.
> >
> > Author Bio <http://jonathanscorner.com/author/> • Books<
> http://cjshayward.com/>
> >  • *Email <[email protected]>* •
> > Facebook<http://www.facebook.com/christos.jonathan.hayward>
> >  • LinkedIn <http://www.linkedin.com/in/jonathanhayward> •
> > Twitter<http://twitter.com/JonathansCorner>
> >  • *Web <http://jonathanscorner.com/>* • What's
> > New?<http://jonathanscorner.com/>
> > I invite you to visit my "theology, literature, and other creative works"
> > site.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<django-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
[image: Christos Jonathan Hayward] <http://jonathanscorner.com/>
Christos Jonathan Hayward, an Orthodox Christian author.

Author Bio <http://jonathanscorner.com/author/> • Books<http://cjshayward.com/>
 • *Email <[email protected]>* •
Facebook<http://www.facebook.com/christos.jonathan.hayward>
 • LinkedIn <http://www.linkedin.com/in/jonathanhayward> •
Twitter<http://twitter.com/JonathansCorner>
 • *Web <http://jonathanscorner.com/>* • What's
New?<http://jonathanscorner.com/>
I invite you to visit my "theology, literature, and other creative works"
site.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to