Is there any Django class used to show the contents of an object model in a non-modifiable way? Something like this for forms to edit the objects from a model:
class TestForm(forms.ModelForm):
class Meta:
model = models.Test
using it as:
def generic_view(request):
form = TestForm()
return render_to_response('generic/generic_view.html', {
'form': form,
})
and then in the template:
{{ form.as_p }}
but showing just the contents of an object instead of a form?