~jnaous/rpc4django/urlgroups

« back to all changes in this revision

Viewing changes to rpc4django/tests/testmod/__init__.py

  • Committer: Jad Naous
  • Date: 2010-11-20 07:43:51 UTC
  • Revision ID: jnaous@jadsm-20101120074351-u40j1micda55hzqd
Implement isolation across URLs

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
def subtract(a, b):
6
6
    return a - b
7
7
 
8
 
@rpcmethod(signature=['int', 'int', 'int'])
 
8
@rpcmethod(signature=['int', 'int', 'int'], url_name="my_url_name")
9
9
def product(a, b):
10
10
    return a * b