Made it django 1.6 compatible,