Hi Jani Thanks for the reply. My real aim was to get the Pyjamas examples working specifically the Jsonrpc example. The reason for the 403 error is that I am using Django version 1.2 which includes csrf, however I don't know how to get Pyjamas to generate the token from a manually created form such as that in the JSON-RPC Example.
To work around this for now I have disabled the csrf middleware settings in settings.py and the applications now work, however this would not be a long term solution. If anybody has any thoughts on this then they would be really appreicated. On Aug 20, 12:56 pm, Jani Tiainen <rede...@gmail.com> wrote: > > I have python 2.5.4 installed along with Django-1.2.1 and am trying to > > test jsonrpc using jsonrpclib. I have been following the Pyjamas > > tutorial and have got to the point where Django is introduced. > > > I have tried numerous different things but everything I try results in > > a 403 error. I have taken apache out of the equation and am just using > > the django developmemt web server but the problem is the same. > > > Any help would be appreciated. > > I'm not using rpclib just because it felt somewhat hard to use with Django. > Instead of that I've been using my own solution for that: > > http://drpinkpony.wordpress.com/2010/01/12/django-json-rpc-service/ > > It works pretty nicely with Dojotoolkit at least, and it's been battle tested > now in production environments. > > -- > > Jani Tiainen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.