[Fixed]-Error when trying to build schema with Haystack and Solr

0👍

so I eventually found that it was just a typo error here

‘ENGINE’: ‘haystack.backends.solr_backends.SolrEngine’,

this should be ‘solr_backend’ not plural 😐

1👍

This problem usually occurs when first adding Haystack to your project.

1.Are you using the haystack directory within your django-haystack checkout/install?

2.Is the haystack directory on your PYTHONPATH? Alternatively, is haystack symlinked into your project?

3.Start a Django shell (./manage.py shell) and try import haystack. You may receive a different, more descriptive error message.

4.Double-check to ensure you have no circular imports. (i.e. module A tries importing from module B which is trying to import from module A.)

Leave a comment