actually like the Django syntax. It's very easy to follow. You can
> also use the __ for related fields.
> Questions.objects.filter(something__related_something__related_something_else__lower__contains="what")
>
>
>
>
> -Original Message-----
> From:
ESSAGE-
> Hash: SHA512
>
> Hi,
>
> On Tue, Oct 09, 2018 at 08:03:27AM -0700, megaman wrote:
> > I’m pretty new to Django. I have just learnt that could filter a
> > query set this way:
> >
> > Questions.objects.filter(question_text__contains=‘what’)
>
I’m pretty new to Django. I have just learnt that could filter a query set this
way:
Questions.objects.filter(question_text__contains=‘what’)
This kind of scares me a little because the filter “contains” is actually part
of the field name. And I guess there are other operators appended to a fi
3 matches
Mail list logo