Changes between Version 2 and Version 3 of Jsonrpc


Ignore:
Timestamp:
Jun 3, 2009, 1:20:53 PM (15 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Jsonrpc

    v2 v3  
    2424        url = reverse("myapp-rpc")
    2525
    26         public__add(self, x, y):
     26        def public__add(self, x, y):
    2727            return x+y
    2828
    29         public__subtract(self, x, y):
     29        def public__subtract(self, x, y):
    3030            return x-y
    3131
    3232        @staticmethod
    33         public__multiply(x, y):
     33        def public__multiply(x, y):
    3434            return x*y
    3535
    36         public__find_person(self, attribs):
     36        def public__find_person(self, attribs):
    3737
    3838            filters = {}
Back to Top