#31725: Setting ImageField and FileField default to a static file
-------------------------------------+-------------------------------------
Reporter: Daniel González | Owner: nobody
Fernández |
Type: New feature | Status: closed
Component: Database layer | Version: 3.0
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: static image | Triage Stage:
default | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):
* status: new => closed
* resolution: => wontfix
Comment:
Yes, I think if there's no image then setting `null=True` is correct. You
**could** use a custom field to encapsulate the placeholder handling but
it strikes me doing it at the presentation layer is fine.
--
Ticket URL: <https://code.djangoproject.com/ticket/31725#comment:2>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.2bfa01c1811f9914bfbc1401727b0ab9%40djangoproject.com.