Re: FlatPage.objects.filter method: content_icontains attribute does not exist

2009-10-12 Thread Russell Keith-Magee
On Mon, Oct 12, 2009 at 2:41 PM, chris wrote: > > 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 >

FlatPage.objects.filter method: content_icontains attribute does not exist

2009-10-12 Thread chris
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