Search code examples
pythondjangoxml-rpc

Best way to get xml-rpc and django working together


I have worked with Django for a while but I am new to xml-rpc. I have two Django servers running and the first needs to call functions from some modules of second server. I find xml-rpc easiest way to do so but don't want to run a separate server for this only.

What options do I have? Can I run Django's web-server and xml-rpc server with a single manage runserver command ?


Solution

  • Easily - we use http://code.djangoproject.com/wiki/XML-RPC to add an xml-rpc server into our django server.