Home Projects Django-AjaxComments

Django-AjaxComments

1

The utils file includes two decoraters that automatically wrap each request to the comments view, and returns the response as a JSON object if the view is requested via Ajax.

2

A sample Javascript file is provided to show how the form can be encoded in JSON and the view called, using the jQuery library.  Other libraries could easily be used as well.

3

Clear documentation helps even new Django users understand how to put Django-Ajaxcomments to work.
Categories
Skills

April, 2009 - November, 2009

Django-AjaxComments is a reusable app that makes it easier to enhance Django's built-in contrib.comments with Ajax. It includes a decorator to alter the contrib app to respond with JSON for Ajax requests, and a jQuery script to include on the page that the user wants Ajax comments enabled for.

The project was highlighted on the Django Dose podcast, and complemented for the ease with which it enables Ajax comments.

© 2011 Copyright Brandon Konkle. All Rights Reserved.