Commit 0c7adaee by Alex Gaynor

Fixed the README, thanks Carl.

parent 31cbafbb
...@@ -23,7 +23,7 @@ Then you can use the API like so:: ...@@ -23,7 +23,7 @@ Then you can use the API like so::
>>> apple.tags.remove("green") >>> apple.tags.remove("green")
>>> apple.tags.all() >>> apple.tags.all()
[<Tag: red>, <Tag: delicious>] [<Tag: red>, <Tag: delicious>]
>>> Food.objects.filter(tags__in=["red"]) >>> Food.objects.filter(tags__name__in=["red"])
[<Food: apple>, <Food: cherry>] [<Food: apple>, <Food: cherry>]
Tags will show up for you automatically in forms and the admin. Tags will show up for you automatically in forms and the admin.
......
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