FileInput._has_changed not implemented
In working on tests for #6117 I have discovered that FileInput._has_changed which is the inherited method from Widget needs to be implemented. Right now it will force_unicode the dict from request.FILES and the initial data which is most likely a filepath in the database and attempt to compare equality. Fix this by more than likely just checking if data is None and return the opposite value. The only test case that needs some thinking is when data is not None or a non-empty dictionary.
Change History
(3)
| Status: |
new → assigned
|
| Triage Stage: |
Unreviewed → Accepted
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
initial fix that needs some more thought