get rid of some compatibility code, django 1.2 no longer supported