initial experimental django code, freshly ripped out of my django project