Update to upgrade docs

This commit is contained in:
Ross Lawley 2013-04-23 14:09:41 +00:00
parent e2f3406e89
commit a692316293

View File

@ -126,7 +126,9 @@ to `.exclude()`. Chaining `.only()` calls will increase the fields required::
# New code
Animal.objects().only('name')
Animal.objects().only(['name']).only('order') # Would return `name` and `order`
# Note:
Animal.objects().only(['name']).only('order') # Now returns `name` *and* `order`
Client