On Feb 6, 2010, at 2:53 AM, Atamert Ölçgen wrote:
> On Saturday 06 February 2010 12:23:16 Dennis Kaarsemaker wrote:
>> On do, 2010-02-04 at 11:01 -0800, Eric Chamberlain wrote:
>>> I'm using the object_list generic view and it seems there should be a
>>> way to pull the field verbose_name from
On Saturday 06 February 2010 12:23:16 Dennis Kaarsemaker wrote:
> On do, 2010-02-04 at 11:01 -0800, Eric Chamberlain wrote:
> > I'm using the object_list generic view and it seems there should be a
> > way to pull the field verbose_name from the model, without having to
> > hard code the name in
On do, 2010-02-04 at 11:01 -0800, Eric Chamberlain wrote:
> I'm using the object_list generic view and it seems there should be a
> way to pull the field verbose_name from the model, without having to
> hard code the name in the template.
model_class_or_instance._meta.verbose_name
I'm using the object_list generic view and it seems there should be a way to
pull the field verbose_name from the model, without having to hard code the
name in the template.
Any suggestions?
--
Eric Chamberlain
--
You received this message because you are subscribed to the Google Groups
4 matches
Mail list logo