for f in userlist:
    self.fields[str(f.id)] = forms.BooleanField(initial=False, required=False)
return [u for u in self.custom_fields if self.cleaned_data[str(u.id)]]
How to render django form field in template