summaryrefslogtreecommitdiffstats
path: root/apps/urls.py
diff options
context:
space:
mode:
authorNate Case <ncase@xes-inc.com>2008-09-05 14:27:31 -0500
committerJeremy Kerr <jk@ozlabs.org>2008-09-08 10:36:15 +1000
commit83964878e92ce0687d47409b5832e7220e57d79f (patch)
tree62e6593ce8a48b480fd675e73757d52f73ef939e /apps/urls.py
parent8df76da1f7f4f6bc9a22d2b2db233618c251eeb5 (diff)
downloadpatchwork-83964878e92ce0687d47409b5832e7220e57d79f.tar.bz2
patchwork-83964878e92ce0687d47409b5832e7220e57d79f.tar.xz
Add XML-RPC interface and command line client
Introduce a new XML-RPC Patchwork interface inspired by the SOAP interface from the old Patchwork. The interface itself is fairly lightweight and generic, and provides read-only access to a limited subset of the Patchwork database, along with server-side search and flexible filtering capabilities. The command line client is modeled after the old one with some additional filtering options. The XML-RPC interface is disabled by default. You can enable it by setting ENABLE_XMLRPC = True in local_settings.py This feature uses the django-xmlrpc package available from http://django-xmlrpc.googlecode.com. Signed-off-by: Nate Case <ncase@xes-inc.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/urls.py')
-rw-r--r--apps/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/urls.py b/apps/urls.py
index 6e7f34e..3ccdd1a 100644
--- a/apps/urls.py
+++ b/apps/urls.py
@@ -46,4 +46,5 @@ urlpatterns = patterns('',
{'document_root': '/srv/patchwork/htdocs/js'}),
(r'^images/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': '/srv/patchwork/htdocs/images'}),
+ (r'xmlrpc/$', 'django_xmlrpc.views.handle_xmlrpc',),
)