I know that, but generic view needs a template created by hand (or I missed something). I want to automatically generate some html code (as new forms do). Thanks for answer.
On 13 Cze, 22:33, "Joseph Heck" <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---