Editing the emtpy_value attribute for a select widget with django-crispy-forms -
i'm trying figure out how set empty value of 'select' element "choose location" instead of "--------" in django using django-crispy-forms. have suggestions on best way this?
thanks
turns out since using choices in charfield, add default blank value label , set blank=false on model. answer documented here, it's hidden in question, foreignkeys.
Comments
Post a Comment