On 12/8/05, Emanuele <[EMAIL PROTECTED]> wrote:
> BooleanFields behaves differently in admin interface: the field name
> name ("Boolean") is not in bold style (not mandatory?) and if you
> select the first choice ("You can't select this", as before) you get an
> error because there is no validation that takes into account
> "bank=False" and so the INSERT statement is obviously wrong:

BooleanFields aren't allowed to have the "choices" parameter, because
that would be meaningless. By definition, a boolean only has two
choices: true or false.

Adrian

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

Reply via email to