Michael schrieb: >> TOPIC_CHOICES=[('', '-- pick one --'), ('key1', '...'), ...] >> > > Thanks, using an empty string for the value seems to do the trick. Is > there somewhere in the documentation that explains this behavior? I'm > not able to locate it anywhere. > > >> And required=False for the ChoiceField (which is the default). >> > > Are you sure? the newforms documentation [1] seems to indicate that > required=True is the default for all Fields. >
Sorry, this was a typo. required=True is the default. -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---