On 10/31/05, Emanuele <[EMAIL PROTECTED]> wrote:
> I still don't understand where solution 1 avoids '----' as a possible
> choice by the user, but anyway it's time for me to study validators:
> solution 2 seems perfect. Let's do it tomorrow, here it's late in the
> night :)

Solution 1 avoids "----" as a possible choice because the field
doesn't have "blank=True". By default, "blank" is set to False, which
means the field is required (i.e. cannot have a blank value). Hope
that clears it up for ya!

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to