Martin Fitzpatrick
  • Home
  • Latest
  • About
  • Books & Courses
Sign in Subscribe

Django

A collection of 3 posts
Django AJAX threaded-comments using jQuery
Django

Django AJAX threaded-comments using jQuery

Upgrade threaded comments using mptt to allow AJAX submission of comments and update the template - without any backend hacking of Django. Everything is accomplished via Javascript and template tags. First set up Django threaded comments using mptt as described previously. First open up your comment form template form.html
Jan 30, 2012 3 min read
Tutorials

Syntax highlighting with Django and Markdown

Syntax highlighting is more than just eye candy. It can turn a block of impenetrable code into something more readable. To boost the usability of our code guides on this site we wanted to implement nice clear syntax highlighting of our hacks. Code samples are already marked up with markdown
Jan 19, 2012 2 min read
Tutorials

Django Threaded Comments

Django ships with it's own comments contrib app that provides commenting on arbitrary models. However this is a flat-comment system which doesn't allow replying to comments. An app called django-threadedcomments exists but has not been updated for a number of versions and is broken. Other alternatives
Jan 17, 2012 3 min read
Page 1 of 1
Martin Fitzpatrick © 2026
  • Sign up
  • Contact
  • Payments
  • Refunds
  • PyQt6 Book
  • PySide6 Book
  • Privacy & Legal
Powered by Ghost