That kind of mechanism doesn't exist within Newforms. If you want to display a representation of an model object, you're better off looking at generic views for that sort of functionality.
-joe On 6/13/07, eXt <[EMAIL PROTECTED]> wrote: > > Hello > > I use new forms library in my application (to be honest - it is my > first django application) and I can't find a method to render the form > as read-only (something like myform.as_table(readonly=True)). When I > say read-only I mean no <input /> tags in html, just field values. > Is it possible or maybe there is any other good practice for such > situations? > > -- > Jakub Wisniowski > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---