seteuid0's blog
Themed by Diary.
django中添加xmlrpc支持

实现一个xmlrpc功能模块,代码如下add the following to urls.pyThat’s it!You can pretty much write a standard python function in there, just be sure to register it with the dispatcher when you’re done.Here’s a quick and dirty client example for testing:Based on experience, I do recommend that you use Dictionaries for your args rather than long args, but I think that’s personal preference (It allows named arguments, eliminates ‘out of order’ argument issues and it makes the code more self-documenting).Have fun!Brendan W. McAdams