Django comment spam

筅森魡賤 提交于 2019-12-01 07:05:00

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.

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

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