Why another comment app?Quite simply, I find django.contrib.comments bloated, clunky and lacking some major features. One feature of django-simple-comments that's inspired by django.contrib.comments is the ability to attach a comment to absolutely any object of any type, thanks to the fantastic Content Types Framework. Most everything else has been coded from the ground up.
Furthermore, I think django.contrib.comments is missing key features like Akismet and email notifications. I realize comment_utils will do this, but I don't particularly like the idea of having to depend on another app just to get full functionality of the first app. I'd rather have a simple comments app that does what I need all by itself.
Update: New django.contrib.commentsA new version of django.contrib.comments has been merged into Django trunk. It's significantly better than the old version, and there are a number of similarities between the new version and django-simple-comments. However, I plan to continue development of django-simple-comments for a few reasons:
django.contrib.comments doesn't have built-in supprt for Akismet. I realize it's possible to do this with Signals, but I want Akismet to be built-in to the app itself so that anytime I need to use it I simply add the API key to settings.py instead of having a separate signals.py to include with every project. I like having Approved / Moderate / Spam statues as opposed to 'is_public' and 'is_removed' boolean flags. This app has more robust feed generation (something I'm planning to contribute back to contrib.comments) This will have built in support for "Remember my info" and "Email me follow up comments" checkboxes. I realize it's possible to extend contrib.comments to have these abilities, but again I want one app that does all this. I don't want to manage multiple apps or files just to have fully functioning comments.
Current featuresFlag comments as approved, moderated or spam. Automatic feeds for all comments, comments for a specific content type, and comments for a specific object, like so: /feeds/comments/ => Feed of all latest comments /feeds/comments/blog.Post/ => Feed for latest comments on all blog Posts /feeds/comments/blog.Post/1/ => Feed for all comments on blog Post with ID = 1 "Remember me" ability to pre-populate form based on User info or sessions (for anonymous users) Automatic spam detection with Akismet Future featuresMost of these already exist in other projects I've done and are in the process of being ported into this app.
"Email me follow-up comments" ability Email object author when comments are placed on an object. Addition of options (auto-approve, blacklist, spamlist), possibly using dbsettings Basic useNote: django-simple-comments is being developed with future compatibility in mind, so you'll need a recent 1.0 Beta version of Django.
Add "comments", to INSTALLED_APPS Add `"comments.context_processors.user_info'," to TEMPLATE_CONTEXT_PROCESSORS Add (r'^comments/', include('comments.urls')), to your URLCONF Add {% comment_form %} into a template to display the comment form. That's it! Examples of other features will be added in the near future.
Bugs and feature requestsPlease submit bugs, feature requests and feedback using the Issue Tracker here on Google Code.
30 Day Summary Apr 22 2013 — May 22 2013
|
12 Month Summary May 22 2012 — May 22 2013
|
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.