request/response docs don't mention that request.has_key() is deprecated
|Reported by:||anonymous||Owned by:||Jacob|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Earlier: a short discussion of me solving a problem by using request.has_key("buttonname") to work out which button on a form had been pushed.
23:58 < Magus-> don't use has_key 23:58 < Magus-> it's going away 23:58 < karl> well, can someone update the docs then? 23:58 < karl> there's no indication of @deprecated 23:59 < Magus-> open a ticket for updating the docs :) 23:59 < Magus-> if 'somekey' in request.POST: works fine
Here's the ticket.