Commits

Thomas Wanschik  committed 47bc657

renamed BACKEND to SEARCH_BACKEND

  • Participants
  • Parent commits d740010

Comments (0)

Files changed (2)

File search/core.py

             indexer=self.indexer, language=language)
 
 def load_backend():
-    backend = getattr(settings, 'BACKEND', 'search.backends.immediate_update')
+    backend = getattr(settings, 'SEARCH_BACKEND', 'search.backends.immediate_update')
     import_list = []
     if '.' in backend:
         import_list = [backend.rsplit('.', 1)[1]]

File search/tests.py

 
 # use immediate_update on tests
 from django.conf import settings
-settings.BACKEND = 'search.backends.immediate_update'
+settings.SEARCH_BACKEND = 'search.backends.immediate_update'
 
 from search.core import SearchManager, startswith