svgui/pyjs/jsonrpc/README.txt
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 29 Jun 2018 13:36:32 +0300
changeset 2237 c5104f88a21f
parent 728 e0424e96e3fd
permissions -rw-r--r--
Add 256x256 and 64x64 Beremiz icons


remove svg:midPointStop tags from icons.svg, because Inkscape
complained about unsupported tag. It seems that these tags were made
by Adobe Illustrator and aren't supported by any other app.
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