Hi, I'm Daniel Greenfeld, and welcome to my blog. I write about Python, Django, and much more.

Choosing an API framework for Django

Thursday, May 10, 2012 (permalink)

First off, out of the box, Django lets you construct API responses with a little work. All you need to do is something like this:

# Copied from https://docs.djangoproject.com/en/1.4/topics/class-based-views/#more-than-just-html
from django import http
from django.utils import simplejson as json

class JSONResponseMixin ...
Read more ...

PyCon Australia 2011 Review

Friday, February 24, 2012 (permalink)

In June of 2011 I had the good fortune of having my then girlfriend, Audrey Roy, now fiancee, invited to present a keynote speech at PyCon Australia 2011.

I was terribly excited for her to get that invitation, and that excitement was compounded when they allowed me to present on ...

Read more ...