Sphinx search in django admin
Trying to use sphinx search in django admin. Installed django-sphinx.
Did as Docs tell:
from djangosphinx.admin import SphinxModelAdmin
class MyAdmin(SphinxModelAdmin):
index = 'my_index_name' # defaults to Model._m开发者_如何学Goeta.db_table
weights = {'field': 100}
As result I got error global name 'Paginator' is not defined
, fixed it, then another one 'list' object has no attribute 'ordered'
Don't know what to do with this.
P.S. Django 1.3 if it matters.
I think may the django version is not satisfied,now the django version is django 1.6.2,or you can use xadmin , which is good
At last,I think it is the django version,I suggest you should update the latest!
精彩评论