Changes between Initial Version and Version 1 of Ticket #25708, comment 12
- Timestamp:
- Jun 15, 2016, 3:15:19 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25708, comment 12
initial v1 3 3 > The `output_field` is only really responsible for converting the value returned from the database into a useable model field, it doesn't take responsibility for serialising the value to be sent to the database. 4 4 5 This doesn't seem to be true, `output_field.get_db_pre v_value()` is used in `Value.as_sql()` [https://github.com/django/django/blob/93452a70e8a62c7408eeded444f5088d4a26212d/django/db/models/expressions.py#L573 (GitHub)]:5 This doesn't seem to be true, `output_field.get_db_prep_value()` is used in `Value.as_sql()` [https://github.com/django/django/blob/93452a70e8a62c7408eeded444f5088d4a26212d/django/db/models/expressions.py#L573 (GitHub)]: 6 6 {{{ 7 7 #!div style="font-size: 80%"