QUERY_ITEMS is a set in django 1.7