Even better, use django-form-utils!

https://bitbucket.org/carljm/django-form-utils/overview


Cheers,
AT

On Sun, Oct 16, 2011 at 7:57 PM, Mario Gudelj <mario.gud...@gmail.com>wrote:

> I think you need this
> https://docs.djangoproject.com/en/dev/topics/forms/modelforms/
>
>
> On 16 October 2011 18:24, bovender <dr.daniel.kr...@googlemail.com> wrote:
>
>> Hi all,
>>
>> new to Django and loving it.
>>
>> Is there a way to automatically generate HTML output for the fields of a
>> model instance?
>>
>> I'm looking for something similar to form.as_table, just without the form
>> widgets.
>>
>> Currently I find myself manually repeating all the typing work for the
>> detail view templates that I already did for the model definitions.
>>
>> Thanks
>>
>> bovender
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/django-users/-/iGP654BL2HMJ.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to