Re: Is there a way to access a field's verbose_name from a object_list generic view template?

2010-02-06 Thread Eric Chamberlain
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

Re: Is there a way to access a field's verbose_name from a object_list generic view template?

2010-02-06 Thread Atamert Ölçgen
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

Re: Is there a way to access a field's verbose_name from a object_list generic view template?

2010-02-06 Thread Dennis Kaarsemaker
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

Is there a way to access a field's verbose_name from a object_list generic view template?

2010-02-04 Thread Eric Chamberlain
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