class MultiWordSearchChangeList(ChangeList):
    """Changelist that allows searches to contain spaces"""

def get_query_set(self, request):
    self.query = UnsplitableUnicode(self.query)
return super(MultiWordSearchChangeList, self).get_query_set(request)


class FooAdmin(admin.ModelAdmin):

    def get_changelist(self, request, **kwargs):
        pass
django admin search with multiple words