def _set_queryset(self, queryset):
        """
        Set the queryset on the ``ModelChoiceField`` and choices on the widget.
        """
        self.fields[0].queryset = self.widget.queryset = queryset
        self.widget.choices = self.fields[0].choices
Set the queryset on the ``ModelChoiceField`` and choices on the widget.