开发者

Django Keyword Search Not Working

I bought this book and Im busy working through it. Now what I found is that someone has already come across this same problem an开发者_JS百科d posted here on this URL:

"Practical django Projects, 2nd ed., source code

Im having the exact same problem as above except that while it shows on the backend when I perform a search for a page linked to a certain keyword I get 0 results all the time. Can someone please help me out with this.

Thanks


I have posted there this answer, I am reposting it here, maybe it will help you.

Do you have:

from django.contrib import admin
admin.autodiscover()

in your urls.py? And also something like this:

urlpatterns = patterns('',
    ...
    (r'^admin/', include(admin.site.urls)),
)

And also have you turned on admin app in settings?

INSTALLED_APPS = (
    ...
    'django.contrib.admin',
)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜