def add_request_getdict(func):
    def _ret(*args, **kwargs):
        args[0].POST.__class__.getdict = __getdict
        ret = func(*args, **kwargs)
        return ret
    return _ret
Add the method getdict() to the request object.
dataset/ETHPy150Open klipstein/dojango/dojango/decorators.py/add_request_getdict