Hi,

On 6/29/07, bhaskar jebamani <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I m a new Django programmer.  I m struggling with one stuff can u help
> me.

Welcome

>
> The problem is :
>
> I created a dynamic form which is connected to database. I have used
> text boxes for accepting strings and integers.  The problem is I am
> not able to reduce the size of the textboxes as I require.  For
> example I need a textboxes of integer which can display only 3 digit
> numbers.
>
>
> Waiting for solution

First of all, this question belongs to the gjango-users list, this
list is for discussing internal development of Django itself.

But to answer your question: you have to look for a widget class
representing TextInput, to that you can pass attrs parameter which is
a dictionary containing attributes of the target <input> tag...

>
> >
>


-- 
Honza Kr�l
E-Mail: [EMAIL PROTECTED]
ICQ#:   107471613
Phone:  +420 606 678585

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to