Changes between Initial Version and Version 1 of Ticket #32341
- Timestamp:
- Jan 10, 2021, 7:29:54 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32341 – Description
initial v1 1 1 In a django form, when I set a value for the `empty_label` parameter, a TypeError is raised. TypeError: __init__() got multiple values for keyword argument 'empty_label' 2 2 3 ``` 4 field_name = forms.ModelMultipleChoiceField( 5 label="Field Label", 6 queryset=MyModel.objects.all(), 7 empty_label="Select something", 8 ) 9 ``` 3 `field_name = forms.ModelMultipleChoiceField(queryset=MyModel.objects.all(), empty_label="Select something" )`