Comment 6 for bug 122255

Revision history for this message
nubis (gnubis) wrote :

Hey, I see that there's no much advance related to this issue...
I, know it requires some design discussion in order to come up with a 'decent' alternative, but in the meantime I (as you too probably) have made my own fix.
Using it, xmlrpc methods recevie the request as first argument, and 2 new keyword arguments
django_kwargs, django_args for args captured in the url.

It has the obvious downsides:
it overrides _marshalled_dispatch wich is supposed to be private in the first place (as hinted by the leading _ ). Url caught arguments get passed with totally ad-hoc names, and it uses the old 'deprecated' way of passing a dispatch method to _marshalled_dispatch.

Also, writing urls that capture parameters for xml_rpc calls could have legitimate uses, but I can't think of any right now.

all in all, I couldn't find this and I really really needed it, and lost a considerable couple of hours in a fix that I wouldn't want anyone else to waste, so please don't be mad at me for posting this here.

thanks for your attention