The MultiValueDict in datastructures.py should have a "__contains__" method defined
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The MultiValueDict in datastructures.py should have a "contains" method defined, so that one can do:
if ('world' in request.GET): destroy_world(request.GET['world'])
destroy_world function is left as an exercise for the reader.
A simple patch which concerns datastructures.py is included.