Mimsy Were the Borogoves

Hacks: Articles about programming in Python, Perl, Swift, BASIC, and whatever else I happen to feel like hacking at.

Django tutorial mostly ready

Jerry Stratton, November 21, 2009

When I wrote Installing Django in Mac OS X Leopard I mentioned that I hoped to do a full Django tutorial some day. Well, that day is now. I ran three short one-hour sessions for our development team over the last few weeks, and I think I’ve got a nice tutorial that provides a useful real-world example of what Django can do.

The title of Django: Beyond the SQL is inspired by one of my favorite Django Reinhardt pieces, Beyond the Sea1. You can find it on Djangology. The cover image was also inspired by that tune, and created in Inkscape. The original’s in the resources file.

The tutorial walks you through creating The Old Dead Guys Blog, a joint blog by H. L. Mencken and George Orwell. Sample blog postings are included to speed the tutorial. The blog postings are shorter, public-domain essays by the two co-bloggers.

I’m not completely happy with the template tag example; while embedding Youtube videos is common, embedding them into the template is not.

I don’t know when I’ll complete the command-line Django chapter or the Modifying Models chapter. We didn’t get that far, so I didn’t write that far.

If you use it to learn or to teach, I hope it’s an enjoyable experience!

  1. The inspiration makes more sense if you pronounce SQL the common but non-standard way rather than speaking each individual letter.

  1. <- Django intermediate pages
  2. Django Dynamic Input ->