Skip to content


ch10 'name__icontains' to 'title__icontains' #24

merged 1 commit into from

2 participants


No description provided.

@jacobian jacobian merged commit 5bbaabe into jacobian-archive:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 28, 2012
  1. @fourcels
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  chapter10.rst
2  chapter10.rst
@@ -80,7 +80,7 @@ Chapter 5), and it can be filtered and sliced like any other ``QuerySet``.
For example::
>>> p = Publisher.objects.get(name='Apress Publishing')
- >>> p.book_set.filter(name__icontains='django')
+ >>> p.book_set.filter(title__icontains='django')
[<Book: The Django Book>, <Book: Pro Django>]
The attribute name ``book_set`` is generated by appending the lower case
Something went wrong with that request. Please try again.