Django 1.4.1

Simple modification to run on Django 1.4.1 and requests 1.1.0