msgbartop
by Brian Neal
msgbarbottom

01 Jan 09 Comments

Happy New Year!

I spent a fair amount of time googling and studying blogs of other people on what they had done to get the Django comments application to work smoother for registered users. I also looked at the django-threadedcomments application a bit. It seems very good, I just don’t like threaded comments. Then I started looking at the source code to the Django comments application and seeing that there wasn’t a lot of magic going on. In other words, even I could sort of understand what was happening. So I started to write my own comments system, tailoring it to my requirements. At first I thought this would be a ton of work, especially the template tags. However Django really makes this kind of stuff easy, and I am really learning a lot about how Django works by undertaking this. So any trepidation I felt at first is gone. I am having a lot of fun and learning a lot. I am keeping my template tags the same as the contributed comments app, so in case Django 1.1 has a much nicer system I can easily cut over to it. Learning about the Content Types framework and more about template tags has made this exercise very worthwhile for me.

I intend on supporting both a traditional comment post and an AJAX style post. Once I get some more stuff working I will investigate using Markdown and markItUp! editor I mentioned in my last post.

Tags: ,

Comments are closed.