Django provides a count() method for precisely this reason. list(). Force evaluation of a QuerySet by calling list() on it. For example:.
確定! 回上一頁