Changes between Version 2 and Version 3 of Jsonrpc
- Timestamp:
- Jun 3, 2009, 1:20:53 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Jsonrpc
v2 v3 24 24 url = reverse("myapp-rpc") 25 25 26 public__add(self, x, y):26 def public__add(self, x, y): 27 27 return x+y 28 28 29 public__subtract(self, x, y):29 def public__subtract(self, x, y): 30 30 return x-y 31 31 32 32 @staticmethod 33 public__multiply(x, y):33 def public__multiply(x, y): 34 34 return x*y 35 35 36 public__find_person(self, attribs):36 def public__find_person(self, attribs): 37 37 38 38 filters = {}