removed dependency on django 1.4