svgui/pyjs/jsonrpc/README.txt
author PaulBeltyukov
Mon, 06 Mar 2017 17:24:05 +0500
changeset 1651 f077f8fb9ba7
parent 728 e0424e96e3fd
permissions -rw-r--r--
1. Deleted .directory file, and added it to .hgignore.
2. Added russian locale .mo file.
These classes are intended for use server-side.

e.g. in a django view.py :

    from pyjs.jsonrpc.django import JSONService, jsonremote

    jsonservice = JSONRPCService()

    @jsonremote(jsonservice)
    def test(request, echo_param):
         return "echoing the param back: %s" % echo_param