

def build_presentation_field(self):
    kwargs = {
        
    }
    queryset = Presentation.objects.all()
    queryset = queryset.exclude(cancelled=True)
    queryset = queryset.order_by('proposal_base__pk')
    if self.slot.content:
        queryset = queryset.filter((Q(slot=None) | Q(pk=self.slot.content.pk)))
        queryset['required'] = False
        kwargs['initial'] = self.slot.content
    else:
        queryset = queryset.filter(slot=None)
        kwargs['required'] = True
    kwargs['queryset'] = queryset
    return forms.ModelChoiceField(**kwargs)

dataset/ETHPy150Open pinax/symposion/symposion/schedule/forms.py SlotEditForm.build_presentation_field/VarMisuse@85/99 `kwargs`->`queryset`