As stated in dcumentation:
https://docs.djangoproject.com/en/dev/ref/models/fields/#textfield

A large text field. The admin represents this as a <textarea> (a multi-line
input).
You should use CharField instead of TextField

-- 
eng. Ilian Iliev
Web Software Developer

Mobile: +359 88 66 08 400
Website: http://ilian.i-n-i.org


On Fri, Sep 30, 2011 at 2:01 PM, Nikhil Somaru <nsom...@gmail.com> wrote:

> Hi All,
>
> Django Version: 1.3
> OS: Mac OS X Lion
> Browsers: Chrome, Safari, FF
> Other: Virtualenv
>
> The models are only registered with admin, there are no ModelAdminclasses. 
> For some reason, all
> TextField's on all models (even those with really small max_length's)
> render as textarea, even those which have the parameter choices passed to
> them (they should be a drop-down box). The class being applied to them is
> vLargeTextField.
>
> This is a brand-new Django project, there is no custom css/html and the
> devserver is returning 200 (OK) for all requests.
>
> Your help is appreciated.
> --
> Yours,
> Nikhil Somaru
>
>  --
> 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
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to