diff -r ede5a4bbe810 django/db/backends/__init__.py
a
|
b
|
|
277 | 277 | def value_to_db_datetime(self, value): |
278 | 278 | """ |
279 | 279 | Transform a datetime value to an object compatible with what is expected |
280 | | by the backend driver for date columns. |
| 280 | by the backend driver for datetime columns. |
281 | 281 | """ |
282 | 282 | if value is None: |
283 | 283 | return None |
… |
… |
|
286 | 286 | def value_to_db_time(self, value): |
287 | 287 | """ |
288 | 288 | Transform a datetime value to an object compatible with what is expected |
289 | | by the backend driver for date columns. |
| 289 | by the backend driver for time columns. |
290 | 290 | """ |
291 | 291 | if value is None: |
292 | 292 | return None |