(self)
| 194 | Valid.objects.bulk_update([obj], fields=["parent"]) |
| 195 | |
| 196 | def test_custom_db_columns(self): |
| 197 | model = CustomDbColumn.objects.create(custom_column=1) |
| 198 | model.custom_column = 2 |
| 199 | CustomDbColumn.objects.bulk_update([model], fields=["custom_column"]) |
| 200 | model.refresh_from_db() |
| 201 | self.assertEqual(model.custom_column, 2) |
| 202 | |
| 203 | def test_custom_pk(self): |
| 204 | custom_pks = [ |
nothing calls this directly
no test coverage detected