On 7/28/06, Josh Trutwin <[EMAIL PROTECTED]> wrote:
> Is there any way in models.TextField to specify the number of
> rows/columns that the <textarea> uses?

Hi Josh,

Nope, there's no way to specify that in the model, but you can target
the field's form field using CSS. The textarea will have an HTML ID
called "id_foo", where "foo" is the name of your field. You can edit
the admin templates to add custom CSS like this:

    #id_foo { width: 300px; height: 400px; }

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
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