from django import forms
from haystack.forms import ModelSearchForm

class PreSelectedModelSearchForm(ModelSearchForm):
    def __init__(self, *args, **kwargs):
        super(PreSelectedModelSearchForm, self).__init__(*args, **kwargs)
        self.fields['models'].initial = (choice[0] for choice in self.fields['models'].choices)

Create a form subclass with all models pre-ticked.
Create a form subclass with all models pre-ticked.
