Fix call signatures to match django 1.6