Commit c71345fc by Alex Gaynor

79 char lines

parent 2133f1b1
......@@ -55,7 +55,10 @@ instances of the same model will be returned.
Filtering
~~~~~~~~~
To find all of a model with a specific tags you can filter, using the normal Django ORM API. For example if you had a ``Food`` model, who's ``TaggableManager`` was named ``tags``, you could find all the delicious fruit like so::
To find all of a model with a specific tags you can filter, using the normal
Django ORM API. For example if you had a ``Food`` model, who's
``TaggableManager`` was named ``tags``, you could find all the delicious fruit
like so::
>>> Food.objects.filter(tags__in=["delicious"])
[<Food: apple>, <Food: pear>, <Food: plum>]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment