#28937: BinaryField enforces editable=False
-------------------------------------+-------------------------------------
Reporter: James Pic | Owner: Cameron
| Curry
Type: New feature | Status: assigned
Component: Database layer | Version: 2.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Cameron Curry):
Replying to [comment:4 Cameron Curry]:
> Hi James could you clarify a bit what you mean? I'm planning on
following the same pattern as URLField.deconstruct and
FilePathField.deconstruct in BinaryField.deconstruct, as in:
> def deconstruct:
> ...
> if kwargs.get('editable') is False: del kwargs!['editable']
> ...
>
> would this do the trick?
never mind I think I get it
--
Ticket URL: <https://code.djangoproject.com/ticket/28937#comment:6>
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/062.89cda9a06be0f649be0e3a458ae01d4d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.