Django-spaminspector.

AkismetÀ» ÅëÇØ DjangoÀÇ ÀÏ¹Ý ½ºÆÔ °ü¸®ÀÚ
Áö±Ý ´Ù¿î·Îµå

Django-spaminspector. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • BSD License
  • °Ô½ÃÀÚ À̸§:
  • Alisue
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://www.hashnote.tk/

Django-spaminspector. ű×


Django-spaminspector. ¼³¸í

AkismetÀ» ÅëÇØ DjangoÀÇ ÀÏ¹Ý ½ºÆÔ °Ë»ç°ü Django-spaminspector´Â AkismetÀ» ÅëÇØ DjangoÀÇ À¯Àü Àû ½ºÆÔ °Ë»ç°ü µµ¼­°üÀÔ´Ï´Ù. Sudo Pip ¼³Ä¡ Django-Spaminspectoror Sudo Pip ¼³Ä¡ git + git : //github.com/lambdalisue/django-spaminspector.git#egg=django-spaminspectorhow¿¡¼­ »ç¿ëÇϽʽÿÀ. ù°, Settings.py2¿¡¼­ SpamInspector_akismet_key¸¦ ÁöÁ¤ÇؾßÇÕ´Ï´Ù. SpamInspector¸¦ installation_apps¿¡ Ãß°¡ÇϽʽÿÀ. spaminspector.middleware.spaminspectionmiddleware¸¦ settings.py4¿¡¼­ middleware_classes¿¡ Ãß°¡ÇϽʽÿÀ. SpamInspector_views¿¡ °Ë»ç ÇÒº¸±â Ãß°¡ ¾Æ·¡ ÄÚµå´Â DjangoÀÇ ÁÖ¼® ÇÁ·¹ÀÓ ¿öÅ©ÀÇ ÇÁ·ÎÇÊÀÔ´Ï´Ù. spaminspector_views = (( 'django.contrib.comments.views.comments.post_comments, {'comment_type ':'comment ','comment_author ' : Lambda ¿äû : request.post.get ( 'name', ""), 'comment_author_email': ·¥´Ù ¿äû : request.post.get ( 'À̸ÞÀÏ', ""), 'comment_author_url': ¶÷´Ù ¿äû : request.post. get ( 'url', ""), 'comment_contents': ·¥´Ù ¿äû : request.post.get ( 'comment', ""), "" ""),) settingsSpamInspector_s view ¹× Inspection_Profile ¸ñ·ÏÀ» Æ÷ÇÔÇÕ´Ï´Ù. ±âº» ¼³Á¤Àº Django comment framework.spaminspector_akismet_key url.spaminspector_spam_templateÀÇ AkismetÀÇ API Å°ÀÔ´Ï´Ù. ÅÛÇø´ URI. ÀÌ ÅÛÇø´Àº ÁÖ¼®ÀÌ ½ºÆÔÀ¸·Î ŽÁö µÉ ¶§ Ç¥½ÃÇÏ´Â µ¥ »ç¿ëµË´Ï´Ù. (¼±Åà »çÇ×) ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽㠡¤ Àå°í


Django-spaminspector. °ü·Ã ¼ÒÇÁÆ®¿þ¾î