In your form field definition, set empty_labal = None

This was somewhere in the docs, but am unable to find it in the 2 mins I
spent on the search.

Best,

R

On Fri, Jul 25, 2008 at 10:14 AM, JF Simon <[EMAIL PROTECTED]> wrote:

>
> hi !
>
> How to remove the first <option>-------</option> in a <select> from a
> forms.ChoiceField() ?
> Required is set to True and I set default to 1, but there's still this
> f***in item !!!
> Any idea ?
> >
>

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