Benedict Verheyen schreef:
> Hi,
> 
> a have a charfield of 255 chars in a model but on the form, it
> consists of a smallish
> inputfield instead of a textarea.
> How can i increase the size of the form element?
> 
> Thanks
> Benedict

The solution with changing the CharField length property works.
But then it still doesn't make a textarea but rather a very very long
input field :)

As xav suggested, changing the model to TextField instead solves it.
But the resulting textarea is really big. Ideally, we should be able to
specify in the model how the textarea should look.
Maybe specifying the width & height or the rows/columns.

Thanks,
Benedict


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to