﻿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
14077	Need an easy way to display model instance field names and values in templates	haroldb	nobody	"Is it possible to write a helper that would take a bound ModelForm, and allow it to be displayed in a template something like:


{{{
<table>
    {% for field in fields %}
        <tr>
            <td>{{ field.name }}</td>
            <td>{{ field.value }}</td>
        </tr>
    {% endfor %}
</table>
}}}

It would only display those fields that should be displayed to users (e.g. ignore 'editable=False', etc).

This would make displaying models to users much simpler, since if the definition of the model changed, it wouldn't be necessary to update the template. It'd be great if this was a standard helper.

Thanks"		closed	Forms	1.2		duplicate			Unreviewed	0	0	0	0	0	0
