Django pretty much rocks
Well, I’ve built a basic blog application in Django, complete with comments (and comment moderation), categories, and date-based archives, that would actually be presentable on a public-facing website. It took a total of about 8 hours, and I’m very impressed with the framework.
My previous praise of the documentation was a little premature. The docs are a thousand times more approachable than RoR’s, and better categorized and stuff. But they’re very lacking in descriptions of syntax, or real-world examples, and in a few cases are out of date.
I spent 2 hours trying to figure out how to get date-based generic views to work before realizing that the examples I was finding on Google (unfortunately there are none on the Django docs wiki) were all a year out of date, and the view had to be called completely differently. And then it was only by chance that I finally managed to stumble across an up-to-date example of the correct way to call them.
Still, I feel like I sort of understand how the framework functions, which is more than I can say for RoR. I’ll probably be sticking to this. Once I sort out a few last questions, I’m going to need a more ambitious project to try!
Post a Comment