﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4829	verbose_name(_plural) not accessible in templates (contrib.contenttype)	David Danier <goliath.mailinglist@…>	nobody	"I created an history application similar to http://code.djangoproject.com/wiki/FullHistory, so I have a table with a generic relation (object_id and content_type-fields). Now I created a template that should list all recent changes. As the content-type differs I want to this it in the output. But {{{ {{ entry.content_type.model_class._meta.verbose_name }} }}} ist not accessible as ""_meta"" begins with an underscore.

As I did not find any way to get to verbose_name while dir()'ing through the Model-classes, I created a small patch that adds model_verbose_name() and model_verbose_name_plural()-methods to the ContentType-Model. So this is possible: {{{ {{ entry.content_type.model_verbose_name }} }}}

As I know this is redundant and will not be needed by many people I think the chances to get this into the trunk are not that big. On the other hand it does not change many things."		closed	Contrib apps	dev		wontfix			Design decision needed	1	0	0	0	0	0
