Changes between Initial Version and Version 8 of Ticket #28937


Ignore:
Timestamp:
Dec 22, 2017, 4:42:00 PM (7 years ago)
Author:
Tim Graham
Comment:

I added some documentation changes to the patch.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28937

    • Property Triage Stage UnreviewedReady for checkin
    • Property Owner changed from nobody to Cameron Curry
    • Property Status newassigned
    • Property Has patch set
    • Property Version 2.0master
    • Property Summary BinaryField enforces editable=FalseAllow 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#L2298
     1Currently, 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].
    22
    3 Can we replace this with kwargs.setdefault('editable', False) ?
     3Can we replace this with `kwargs.setdefault('editable', False)` ?
    44
    55Thanks
Back to Top