Hi,

You can specify a custom css class in fields attribute in admin
options:
http://www.djangoproject.com/documentation/model-api/#admin-options

Eg.:
fields = (
    ('Advanced', {
        'classes': 'mycustomcssclass',
        'fields': ('url', 'title', 'content', 'sites'),
})...

(this also works in newforms-admin branch I believe)

On Jul 9, 9:16 am, Shankar <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is it possible to specify HTML attributes (rows, cols) for textarea
> (TextField) widgets that appear in django's admin interface? If so, some
> pointers would be great.
>
> Thanks,
> Shankar


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to