Django comment spam

北战南征 提交于 2019-12-30 10:09:14

问题


How well does Django's anti-spam system in the comments framework work? Have you used it? What percentage of comment-spam does it prevent roughly? Is there anything else you do to help prevent comment spam on sites using the Django comments framework?


回答1:


By default Django only offers a honey pot field and a hash check for spam prevention. It stops a lot of spam but absolutely not all. I'd guess at maybe 50-70% or so. For a very small site I have with less than 50 unique visitors per day, that is all that is needed. For larger sites, you definitely need additional protection like Akismet.




回答2:


There's a Python API to Askimet. It's what wordpress uses to stop spam (and it works pretty well).



来源:https://stackoverflow.com/questions/915204/django-comment-spam

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!