Menu

[r9998]: / trunk / django-json-rpc / test / jsontesturls.py  Maximize  Restore  History

Download this file

8 lines (7 with data), 317 Bytes

1
2
3
4
5
6
7
8
from django.conf.urls.defaults import *
from jsonrpc.site import jsonrpc_site
urlpatterns = patterns('',
url(r'^json/browse/$', 'jsonrpc.views.browse', name='jsonrpc_browser'),
url(r'^json/$', jsonrpc_site.dispatch, name='jsonrpc_mountpoint'),
(r'^json/(?P<method>[a-zA-Z0-9.-_]+)$', jsonrpc_site.dispatch),
)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.