https://github.com/domenkozar/django-akismet-comments
Django moderator for checking django.contrib.comments spam against akismet service.
https://github.com/domenkozar/django-akismet-comments
Last synced: about 1 year ago
JSON representation
Django moderator for checking django.contrib.comments spam against akismet service.
- Host: GitHub
- URL: https://github.com/domenkozar/django-akismet-comments
- Owner: domenkozar
- License: other
- Created: 2012-12-19T12:08:18.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-19T14:34:29.000Z (over 13 years ago)
- Last Synced: 2025-05-10T11:07:41.559Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 109 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
Django moderator for checking django.contrib.comments spam against akismet service.
INSTALL
=======
::
$ pip install django-akismet-comments
USAGE
=====
- First, you need to specify ``AKISMET_API_KEY`` in ``settings.py``
- Add ``django_akismet_comments`` to ``INSTALLED_APPS`` in ``settings.py``
- Register your models::
from django.contrib.comments.moderation import moderator
from django_akismet_comments import AkismetModerator
...
# where News is your model you want to moderate for comments
moderator.register(News, AkismetModerator)
Settings
========
``AKISMET_API_KEY``
The api key of Akismet of your url.
DEVELOP
=======
::
$ git clone https://github.com/iElectric/django-akismet-comments.git django-akismet-comments
$ cd django-akismet-comments
$ virtualenv .
$ source bin/activate
$ python setup.py develop
$ easy_install django-akismet-comments[test]