On Thu, 2009-08-13 at 07:22 +0530, Kenneth Gonsalves wrote: > hi, > > was trying out django_openidconsumer and get this error: > > complete() takes exactly 3 arguments (2 given) - I cannot figure it out as > this > is the definition of complete: > > def complete(request, on_success=None, on_failure=None):
That's certainly one complete() function. But it's not the one in the traceback. :-) [...] > Traceback: > File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" in > get_response > 92. response = callback(request, *callback_args, > **callback_kwargs) > File "/usr/lib/python2.6/site-packages/django_openidconsumer/views.py" in > complete > 111. openid_response = consumer.complete(dict(request.GET.items())) This is calling the complete() method on the "consumer" instance (consumer.complete(), not complete()). So find what type of object "consumer" is and look at the methods on that object. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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 -~----------~----~----~----~------~----~------~--~---