generic views don't populate request.POST when handling PUT
|Reported by:||kenth||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The new CBVs handle PUT as a synonym for POST, but django.http doesn't populate the request.POST & request.FILES for any verb except POST. I believe that PUT is being translated as an empty POST, which is not what I would have expected.
The CBV handling of PUT is in several places in django/views/generic/edit.py both in redirecting the put method definition and the get_form_kwargs() method.