toastdriven/django-haystack — Issue #496: Haystack uses hardcoded connection name 'default'
Author: qris
Created: 2012-02-03 20:06:14+00:00
State: open

management/commands/haystack_info.py:
unified_index = connections['default'].get_unified_index()

models.py:
return connections['default'].get_unified_index().get_index(self.model)
index = connections['default'].get_unified_index().get_index(self.model)

indexes.py:
kwargs['default'] = f.default

admin.py:
if not self.model in connections['default'].get_unified_index().get_indexed_models():

I think these should all be using DEFAULT_ALIAS from constants.py.