I want my ChoiceField in ModelForm to have a blank option (------) but it\'s required.
I need to have blank option to prevent user from accidentally skipping the field t
in argument add null = True
like this
gender = models.CharField(max_length=1, null = True)
http://docs.djangoproject.com/en/dev/ref/models/fields/
for your comment
THEME_CHOICES = ( ('--', '-----'), ('DR', 'Domain_registery'), ) theme = models.CharField(max_length=2, choices=THEME_CHOICES)