Django總結及Form組件

一、model常用操作 1、13個API查詢:all,filter,get ,values,values_list,distinct,order_by ,reverse , exclude(排除),count,first,last,esits(判斷是否存在)   需要掌握的all、values、values_list的區別     all:打印的是一個QuerySet集合,一個列表裏面放的對象  
相關文章
相關標籤/搜索