tested with django 1.5, closes #175