Re: get_fieldname_display in templates

2010-04-08 Thread Ramiro Morales
On Thu, Apr 8, 2010 at 3:00 AM, mmenchu wrote: > I'm trying to write to one of my templates the display name for > item.category. Item is an object with an IntegerField named > 'category' and a set of specified choices. I call render_to_response > and call get_category_display() but I keep getting

get_fieldname_display in templates

2010-04-08 Thread mmenchu
I'm trying to write to one of my templates the display name for item.category. Item is an object with an IntegerField named 'category' and a set of specified choices. I call render_to_response and call get_category_display() but I keep getting "Could not parse the remainder: '()'". What's the 'rig