﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27805	"ClearableFileInput's ""Clear"" checkbox on model fields with a default doesn't work"	Mario J. Barchéin Molina	Tim Graham	"Checking 'clear' in a FileField and saving the ModelForm doesn't set None in model's attribute. 

This is broken from 1.10.2 to 1.10.x and 1.11a1. Works in 1.9.x and 1.10.1

I attach a simple project ""polls"" with only one model (TestModel) and admin zone. To reproduce the problem:

1) Log in in admin zone in http://localhost:8000/admin/polls/testmodel/ with user ""admin"" and password ""adminadmin""
2) Create a new ""Test Model"" with an image
3) Edit the created ""Test Model"" instance, check ""clear"" checkbox and submit form

The expected behaviour is having model with no image but this doesn't happen.



"	Bug	closed	Forms	1.10	Release blocker	fixed	FileField, ModelForm, ClearableFileInput		Accepted	1	0	0	0	0	0
