Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
django haystack和多线程uwsgi导致多个seach索引_Django_Django Haystack_Uwsgi - Fatal编程技术网

django haystack和多线程uwsgi导致多个seach索引

django haystack和多线程uwsgi导致多个seach索引,django,django-haystack,uwsgi,Django,Django Haystack,Uwsgi,我使用一个单一的搜索索引,我不断得到一个例外 raise ImproperlyConfigured("Model '%s' has more than one 'SearchIndex`` handling it. Please exclude either '%s' or '%s' using the 'HAYSTACK_EXCLUDED_INDEXES' setting." % (model, self.indexes[model], index)) 这似乎是haystack上主分支的一个

我使用一个单一的搜索索引,我不断得到一个例外

raise ImproperlyConfigured("Model '%s' has more than one 'SearchIndex`` handling it. Please exclude either '%s' or '%s' using the 'HAYSTACK_EXCLUDED_INDEXES' setting." % (model, self.indexes[model], index))
这似乎是haystack上主分支的一个已知问题。然而,我还没有找到解决办法。有人知道如何防止这种情况吗