Changes between Initial Version and Version 8 of Ticket #28937
- Timestamp:
- Dec 22, 2017, 4:42:00 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28937
- Property Triage Stage Unreviewed → Ready for checkin
- Property Owner changed from to
- Property Status new → assigned
- Property Has patch set
- Property Version 2.0 → master
- Property Summary BinaryField enforces editable=False → Allow BinaryField to be editable=True
-
Ticket #28937 – Description
initial v8 1 Currently, it's hard to make a BinaryField subclass which has an upload widget because it hardcodes editable=False: https://github.com/django/django/blob/master/django/db/models/fields/__init__.py#L22981 Currently, it's hard to make a BinaryField subclass which has an upload widget because it [https://github.com/django/django/blob/master/django/db/models/fields/__init__.py#L2298 hardcodes editable=False]. 2 2 3 Can we replace this with kwargs.setdefault('editable', False)?3 Can we replace this with `kwargs.setdefault('editable', False)` ? 4 4 5 5 Thanks