Hello,

I am trying to work my way through Practical Django Projects (a book
by James Bennett 1st edition 2008).  I'm on chapter 3 page 28 where a
search function is being added to the 'cms' project.  The
results=FlatPage.objects.filter(content_icontains=query) does not
work; it looks like the content_icontains attribute isn't recognize by
the 'filter' method.  I've tried looking through the django api but
don't understand how it's set up.  What is the fix required here?

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to