I was confused by this a couple of times as well - it *looks* like you can
specify the width and size of those form fields from inside the model, but
CSS is the best way to do it. Each form field will have it's own ID - in the
case of "{{form.username}}" you should expect to see the form id
"id_use
Each one is given an ID based on it's name. Just use CSS on those IDs
to set the width you want.
On Feb 22, 4:14 am, "VirusRaja" <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> Am new to django, i have a problem i don't know how it will work in
> Django,
> i have created a user model, which has user d
Dear all,
Am new to django, i have a problem i don't know how it will work in
Django,
i have created a user model, which has user data, in my template if i
use the model tags {{form.username}} my webpage alighments is not
coming up properly, I need to set the sizes for the controls. is there
any
3 matches
Mail list logo