Changes between Version 1 and Version 2 of Ticket #32341


Ignore:
Timestamp:
Jan 10, 2021, 7:30:09 PM (4 years ago)
Author:
thewamz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32341 – Description

    v1 v2  
    11In 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'
    22
    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")`
Back to Top