Opened 7 years ago

Last modified 7 years ago

#28937 closed New feature

BinaryField enforces editable=False — at Initial Version

Reported by: James Pic Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

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

Can we replace this with kwargs.setdefault('editable', False) ?

Thanks

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top