yes/no option for BooleanField

181 views
Skip to first unread message

Gary Wilson

unread,
Sep 8, 2006, 1:14:42 AM9/8/06
to Django developers
After noticing the new NullBooleanField, I am thinking it would be nice
to have the same sort of yes/no dropdown option for BooleanField
(without the "unknown" choice of course). What do you think?

Adrian Holovaty

unread,
Sep 8, 2006, 12:13:05 PM9/8/06
to django-d...@googlegroups.com

Hey Gary,

NullBooleanField has been in Django since before it was open-sourced...

http://code.djangoproject.com/browser/django/tags/notable_moments/ipo/django/core/meta.py#L1945

I'm -0 on having BooleanFields use a drop down in the admin interface.
Radio buttons are so much more usable, if you only have two choices.
If anything, we should change NullBooleanFields to use radio buttons.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com

Gary Wilson

unread,
Sep 8, 2006, 2:32:12 PM9/8/06
to Django developers
Adrian Holovaty wrote:
> I'm -0 on having BooleanFields use a drop down in the admin interface.
> Radio buttons are so much more usable, if you only have two choices.
> If anything, we should change NullBooleanFields to use radio buttons.

That would be fine too.

Reply all
Reply to author
Forward
0 new messages