samuraisam / django-json-rpc

JSON-RPC Implementation for Django
MIT License
286 stars 83 forks source link

Fixed TypeError when a method with authenticated=True is called with insufficient arguments #74

Closed J3173 closed 9 years ago

J3173 commented 9 years ago

When a method with authenticated=True is called with insufficient arguments a TypeError is raised resulting in an Internal server error.

This commit fixes the creation of the InvalidParamsError which should be raised and also creates two test cases.

This commit fixes samuraisam/django-json-rpc#54