some django 1.7 related updates