http://docs.djangoproject.com/en/dev/topics/settings/#designating-the-settings
On Mon, Nov 10, 2008 at 07:13, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> >>> from django.db.models import Q
>
> Traceback (most recent call last):
> File "", line 1, in
> File "/usr/lib/python2.5/site-packa
On Wed, 2008-01-02 at 14:25 -0800, Peter wrote:
> I am trying to filter by users who are not staff, but this user column
> accepts NULL values in my model.
>
> As a result I need to check for user__isnull, since
> user__is_staff=False will not work for null values.
>
> I tried:
> Post.objects
2 matches
Mail list logo