samuraisam / django-json-rpc

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

Fixed authentication for at least Django 1.4.2 #36

Closed konsumate closed 11 years ago

konsumate commented 12 years ago

A few commits ago the authentication against Django broke (tested against Django 1.4.2). The jsonrpc/init.py imports the django contrib authenticate() method as _authenticate() which takes a dict only as parameters, but since "*creds" is a positional argument list, this wont work anymore. This fixes the problem.