Django Bookmarks tutorial code for 1.6.5