Clear the list of fields to select (but not extra_select columns). Some queryset types completely replace any existing list of select columns.
(self)
| 2239 | self.selected = None |
| 2240 | |
| 2241 | def clear_select_fields(self): |
| 2242 | """ |
| 2243 | Clear the list of fields to select (but not extra_select columns). |
| 2244 | Some queryset types completely replace any existing list of select |
| 2245 | columns. |
| 2246 | """ |
| 2247 | self.select = () |
| 2248 | self.values_select = () |
| 2249 | self.selected = None |
| 2250 | |
| 2251 | def add_select_col(self, col, name): |
| 2252 | self.select += (col,) |