Rendering a value as text instead of field inside a Django Form

Posted by amdfan on Stack Overflow See other posts from Stack Overflow or by amdfan
Published on 2009-07-15T21:05:10Z Indexed on 2010/04/28 18:47 UTC
Read the original article Hit count: 408

Is there a simple way to make Django render {{myform.name}} as

John Smith

instead of

<input id="id_name" name="name" value="John Smith" />

inside <form> tags? Or am I going about this the wrong way?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-forms