#21201: Let ClearableFileInput work with other fields -----------------------------+-------------------- Reporter: vzima | Owner: nobody Type: New feature | Status: new Component: Forms | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 0 | UI/UX: 0 -----------------------------+-------------------- `ClearableFileInput` is very useful widget, problem is that it can only be used with `FileField` as it only expects `FieldFile` as an initial value.
I propose a decomposition (see patch) which allows easy modification to use this widget with other fields. Example: File input is used over data which are stored in database. This problem is remotely connected with #15667 which may (or may not) solve this issue. -- Ticket URL: <https://code.djangoproject.com/ticket/21201> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/048.863ec744d0a462c6e02bda20db88608e%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.