#4483: request/response docs don't mention that request.has_key() is deprecated
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: jacob
Status: new | Component: Documentation
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
-----------------------+----------------------------------------------------
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.
--
Ticket URL: <http://code.djangoproject.com/ticket/4483>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---