Changes between Version 1 and Version 2 of Ticket #33333, comment 4


Ignore:
Timestamp:
Nov 30, 2021, 2:21:26 PM (3 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33333, comment 4

    v1 v2  
    11My first instinct would be to have `BinaryField.from_db_value` use `force_bytes` to store `bytes` instead of `memoryview` in `_state` or introduce a hook to allow `Field` subclass to define a hook using during serialization and have `Model.__getstate__` call it.
    22
    3 To me that's more of a long standing issue with `BinaryField` and less of a regression cause by 3cf80d3fcf7446afdde16a2be515c423f720e54d.
     3To me that's more of a long standing issue with `BinaryField` and less of a regression caused by 3cf80d3fcf7446afdde16a2be515c423f720e54d.
Back to Top