silence a django 1.7 warning