In a file upload form if the enctype attribute is not set then, django 
throws the error

   - This field is required

In case null=True and blank = True is set for the file field then nothing 
happens at all. Shouldn't it be such that django should throw some other 
error since we are sending a File object and the enctype attribute is not 
sent. Django should be expecting a file backend and instead of throwing 
form error it should so some other kind of error.



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/SsqCtHZosw8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to