On Fri, Jul 15, 2011 at 6:41 AM, samuele.mattiuzzo wrote:
> Nope, what i wanted to achieve is just to have django forms spawn my
> custom html instead of the default one.
note that you can simply not use the form rendering, simply use your
HTML (in a template, or even on a static page) and you ca
I figured out i have to override the default form classes of django
i have to create a
CustomCheckboxSelectMultiple(CheckboxSelectMultiple) class and
override the "render" method, making it generate the html i want for
my particular cases
--
You received this message because you are subscribed t
> 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 fo
I am also not sure, what exactly you are looking for, but what about this:
https://docs.djangoproject.com/en/1.3/topics/forms/#customizing-the-form-template
so you will have complete control of your html code???
--
You received this message because you are subscribed to the Google Groups
"Djang
1 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
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 h
6 matches
Mail list logo