On Jan 24, 10:12 am, "Honza Král" <[EMAIL PROTECTED]> wrote:
> see ticket #3257
>
> it is complete patch with tests, the only thing missing is a decision
> whether (and potentially how) to add ( "", "-----" ) to choices
> magically if required is False
I believe the ("", "----") should go also when the field is mandatory
since you want to force a choice and don't want to encourage people to
go with a default. Think an app like a bug tracker where one of those
choices is the severity of a bug. You don't want to have all bugs for
which the user didn't bother to select a severity created with
"Critical" status just because it's the first choice.
Probably we should also use ("", "----") for required=False fields and
("", "-- select --") for mandatory fields... we're perfectionists after
all ;-)
Thanks,
Lorenzo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---