On Nov 21, 6:25 am, Rob Hudson <r...@cogit8.org> wrote: > But if you wanted to redisplay that information back to the user in a > read-only form, there is no iterative way to do so (as far as I know). > Instead you must specifically "hard code" each field: > > <dl> > <dt>Field 1</dt> > <dd>{{ profile.field1 }}</dd> > .... > </dl>
If I am not completely mistaken you can use your ModelForm with field.label and field.data to get read-only view of the model. Anssi Kääriäinen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=.