Changes between Initial Version and Version 1 of Ticket #25708, comment 12


Ignore:
Timestamp:
Jun 15, 2016, 3:15:19 AM (8 years ago)
Author:
Sergey Fedoseev

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25708, comment 12

    initial v1  
    33> 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.
    44
    5 This doesn't seem to be true, `output_field.get_db_prev_value()` is used in `Value.as_sql()` [https://github.com/django/django/blob/93452a70e8a62c7408eeded444f5088d4a26212d/django/db/models/expressions.py#L573 (GitHub)]:
     5This 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)]:
    66{{{
    77#!div style="font-size: 80%"
Back to Top