You might also want to take a look at contrib/admin/views/template.py 's
class TemplateValidator

On 5/4/07, Bruno Tikami <[EMAIL PROTECTED]> wrote:
>
> Hi Pythoni!
>
> have you tried to take a look at  oldforms/__init__.py file? There, look
> for the LargeTextField class and it's render function. I understand it's not
> exactily what you wanted, but it's a point to start ;)
>
>
> good luck!
>
>
> Tkm
>
>
> On 5/4/07, Pythoni <[EMAIL PROTECTED]> wrote:
> >
> >
> > One of the field in my model is defined
> > Description=meta.TextField()
> >
> > When I use
> > {{form.Description}}
> > in my input form( template)
> > the field is not as large as I would need.
> > When I check HTML I can see
> >
> > <textarea id="id_Description" class="vLargeTextField required"
> > name="Description" rows="10" cols="40"></textarea>
> >
> > But I would need at least rows="20" cols="70".
> > Is there a way how to change the size from Django directly and not by
> > editing HTML code?
> > Thank you
> > L.B.
> >
> >
> > > >
> >
>

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