http://lethain.com/custom-django-views-for-happier-ajax/