I'm not sure if i understood your problem a 100 percent so i'll just write what i think you want ^^
>From what i understand i think you can use the code that has already been >written. Of course you might want to edit it a little bit for it to comply >with the other templates. If you want to work with the data from the forms, you'll have to pass the forms data (whatever is inputet or selected) to a view (per urls.py) and then do what you need to do with the data there. . . . . . . . . . . . . . . . . . . . . . . . . . . Patrick Szabo XSLT Developer LexisNexis Marxergasse 25, 1030 Wien mailto:patrick.sz...@lexisnexis.at Tel.: 00431 534521573 Fax: +43 (1) 534 52 - 146 -----Ursprüngliche Nachricht----- Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von samuele.mattiuzzo Gesendet: Freitag, 15. Juli 2011 09:43 An: Django users Betreff: Django: forms and custom templates basic problem: i need to create real customized templates for my django forms. That's it. I'm used to style the forms based on django's output. This time is different, the html/css template is already done (months before i was hired) and i cannot modify it, so i need django to output exactly that html code. I've read a lot throu django docs, and i found a lot, but i have to admit, i couldn't put bits and pieces togheter, with order, to do what i need to do. Now, with CheckboxSelectMultiple the html output is this: <ul> <li><input type='checkbox' ...></li> ... </ul> What i actually need to do is create something like CustomCheckboxSelectMultiple to output exactly this template: <ul class="list"> <li class="list-item"><input class="checkbox" type="checkbox" id="..." /><label class="label" for="">...</label></li> ... </ul> And so on for other types of form widgets. It's the only way i can think of to create my forms with that particular layout they gave me. I'm actually stuck on this, i cannot seem to be able to put everything togheter to start coding my forms. How can i manage this? If you have any example too, it will be great! Otherwise, just point me towards the right direction please... sadly, looking in the docs, as i said before, didn't actually help me Thanks all in advance! -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.