You can create your own template and may add extra field and use your
style sheet.
On Dec 23, 10:48 pm, sergioh wrote:
> You can always add your own custom fields, by default they override
> the default fields that becomes with the modelform, and there is an
> optional parameter "attributes", wh
You can always add your own custom fields, by default they override
the default fields that becomes with the modelform, and there is an
optional parameter "attributes", which is used to add css class to
your fields.
On Dec 23, 9:47 am, sagi s wrote:
> I really like the concept of generating a fo
sagi s wrote:
> I really like the concept of generating a form from a model using
> ModelForm but would like to customize the apprearance slightly (e.g.
> size of the TextInput etc.).
>
> Any suggestion as to how to do this?
A standard way to do this is via CSS. When you render your form in
your
I really like the concept of generating a form from a model using
ModelForm but would like to customize the apprearance slightly (e.g.
size of the TextInput etc.).
Any suggestion as to how to do this?
I looked at the forms module code but got lost in the maze of the meta
programming...
Thanks
4 matches
Mail list logo