Thanks. Actually the call comes from a button: <a class="btn" href={{=URL("plus_minus",args=result.id)}} rel="tooltip" title="you like this"><i class="icon-thumbs-up"></i></a>
It has to provide the right result.id so the like addition relates to the right post. I will try using callbacks from the button call to see if it works. On Thu, Dec 6, 2012 at 11:17 PM, Niphlod <niph...@gmail.com> wrote: > Learned something also today! Nice one Anthony! > > > On Thursday, December 6, 2012 11:11:05 PM UTC+1, Anthony wrote: >> >> >>> def plus_minus(fakearg=0): >>> ..... >>> >> >> Note, rather than using a fake argument to prevent public access, you can >> also simply start the function name with a double underscore: >> >> def __plus_minus(): >> >> Anthony > > -- > > > --