Hello, May be what I am going to say is completely stupid but if it is the case please let me know why :-)
I face the situation several times in the last weeks that I was willing to build a "complex" form, not directly related to a model. This forms had the following requirements: it should be dynamically generated based on the object I want to create. It was trying to update/create or only display information from many instances from many different models. I don't know if this can help: I was trying to display a form to collect an "Interview" of someone on a "Survey" which is composed of "Polls" which are composed of Choices. For each Poll the user can select one or several choice. A choice is represented by "choice.text", "choice.image" and a checkbox. I spent to several days on trying to achieve this with the newforms library and thank to the help of many people I finally reach to a point where I got something almost working. But the result was such a monster that I have decided to rewrite it with a template approach. I have now a form that is dynamically created thanks to a template rather than the class from the newforms library. So my question is am I missing something or I was just expecting too much from the newforms? My last question is would it be absurd to have a form field called TemplateField to which we can give a template string that will be dynamically inserted and substituted in the template? I hope that this post is not too long, and that the answer of these 2 questions is not in the documentation. Thank you for your feedbacks yml --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---