I may be missing something, but couldn't you use a generic ListView and something like:
{% for car in car_list %} Car Make: <input type="text" name="make" value="{{ car.make }}" /> ...etc {% endfor %} Don't include a <form> tag or a submit button and you should get something that looks like a form, but is read-only. Maybe even disable the input box so it still looks like a normal input box, but you can't click/type in it. -A On Wed, Jan 13, 2016 at 1:37 PM, Arnab Banerji <arna...@gmail.com> wrote: > Hi - I am trying to concatenate "read-only" form views of all objects > pertaining to a given model in a single page (I already have a template for > viewing the form for one object). Given that the forms are reasonably > complex (in some cases involving formsets), a simple "inclusion tag" > approach does not work for me (since that requires a simple dictionary). > Any ideas on what to do here? > > Example: a "print all cars" button in a car inventory app, which prints > out a concatenation of all the car views in the inventory. Eventually, that > can be exported to a PDF - to be viewed as a comprehensive inventory list. > > Thanks! > -AB > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/71d15faf-029f-4412-bfc8-dada465f0727%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/71d15faf-029f-4412-bfc8-dada465f0727%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEE%2BrGodwfWU2QT%3D8%2B%2Bxvrp8ao0%2BbwkSnArBHMT1L-%3DrfNLuVg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.