One nice thing about doing it the way it currently is that you can
specify what yuo want the "blank" to be, e.g. "Please select an option"
or "", etc.
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dja
I wonder if this would be worth pursuing as a new feature for the
SelectField widget.
It makes sense to me that if one sets is_required=False then the widget
should add the "blank" option.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
As far as I know, that is the way to do it. That's the way I've always
done it, but someone might know a better method of doing it.
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
I have created a custom manipulator for a search form.
#
from django import forms
from choices import AIRCRAFT_CHOICES, phase_choices, OBJECT_CHOICES,
STATUS_CHOICES
class SelectStatusManipulator(forms.Manipulator):
def __init__(self):
self.fields = (
4 matches
Mail list logo