AFAIK you can't change your select box's options ordering. You should
do it by changing MONTH_LIST directly.
On Jun 15, 11:38 am, Bastien wrote:
> Hi,
>
> I have a multi choice field to choose 1 or many months in checkboxes:
>
> in forms.py:
> months_open = forms.MultipleChoiceField(choices = MO
Hi,
I have a multi choice field to choose 1 or many months in checkboxes:
in forms.py:
months_open = forms.MultipleChoiceField(choices = MONTH_LIST,
widget=forms.CheckboxSelectMultiple)
then in my template I use {{ form.months_open }} to make the list
appear. Now that works but the list appears
2 matches
Mail list logo