initial TypedMultipleChoiceField django

Use the TypedMultipleChoiceField to restrict input to a specific set of choices, with conversion to the appropriate Python type. It takes two required arguments, coerce and empty_value, which specify the conversion function and the value used to represent empty data. Optionally, you can provide the choices argument to specify the choices for the field.

Here's an example:

from django import forms

class MyForm(forms.Form):
    my_field = forms.TypedMultipleChoiceField(
        choices=((1, 'First'), (2, 'Second'), (3, 'Third')),