Re: Using property fields in Models:'_QuerySet' object has no attribute 'new_summary' error

2008-04-12 Thread Malcolm Tredinnick
On Fri, 2008-04-11 at 22:11 -0700, ydjango wrote: > I defined two property fields in my model as below > > but TableName.objects.all() or filter() is not retrieving them. > It is retrieving only the regular model fields. What do you mean by "not retrieving them"? They are properties defined on

Using property fields in Models:'_QuerySet' object has no attribute 'new_summary' error

2008-04-11 Thread ydjango
I defined two property fields in my model as below but TableName.objects.all() or filter() is not retrieving them. It is retrieving only the regular model fields. Any clues on what I am doing wrong? Ashish def _get_new_summary(self): "Returns the news summary."