Changes between Version 1 and Version 2 of Ticket #33333, comment 4
- Timestamp:
- Nov 30, 2021, 2:21:26 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33333, comment 4
v1 v2 1 1 My 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. 2 2 3 To me that's more of a long standing issue with `BinaryField` and less of a regression cause by 3cf80d3fcf7446afdde16a2be515c423f720e54d.3 To me that's more of a long standing issue with `BinaryField` and less of a regression caused by 3cf80d3fcf7446afdde16a2be515c423f720e54d.