Changes between Version 1 and Version 2 of Ticket #32341
- Timestamp:
- Jan 10, 2021, 7:30:09 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32341 – Description
v1 v2 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 `field_name = forms.ModelMultipleChoiceField(queryset=MyModel.objects.all(), empty_label="Select something" 3 `field_name = forms.ModelMultipleChoiceField(queryset=MyModel.objects.all(), empty_label="Select something")`