#28937: BinaryField enforces editable=False
-------------------------------------+-------------------------------------
               Reporter:  James Pic  |          Owner:  nobody
                   Type:  New        |         Status:  new
  feature                            |
              Component:  Database   |        Version:  2.0
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 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

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28937>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.42a65ff3cf64a108d82cd03a38d37fee%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to