|Reported by:||Aymeric Augustin||Owned by:||Bouke Haarsma|
|Cc:||marc.tamlyn@…, eduardocereto@…, bmispelon@…||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
request.REQUEST provides indifferent access to
request.POST (PHP style).
This attribute is a legacy from the pre-1.0 days, when you could access the
POST data using dict syntax on the request object.
request.REQUEST was introduced in 1.0 to make this operation more explicit, with an easy upgrade path.
It's hardly ever a good design pattern to handle
POST identically, and it's our responsibility not to provide tools who are more likely to result in bad code than anything else. So I think it's time to deprecate this attribute.
We could deprecate
django.utils.datastructures.MergeDict at the same time — it's a 100-lines long class whose sole purpose is to support