Re: Debugging a return HttpResponse message

2006-08-28 Thread [EMAIL PROTECTED]
Jay Parlar wrote: > The problem is your indentation of the last two lines. You have them > inside of the 'if request.POST'. Take them each back four spaces, and > you should be fine. > > Jay P. That's it! Kinda embarassing ;-) Lorenzo --~--~-~--~~~---~--~~ You

Re: Debugging a return HttpResponse message

2006-08-27 Thread Jay Parlar
The problem is your indentation of the last two lines. You have them inside of the 'if request.POST'. Take them each back four spaces, and you should be fine. Jay P. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Debugging a return HttpResponse message

2006-08-27 Thread [EMAIL PROTECTED]
Hi all, i'm having a hard time figuring out where the error is in the following code. Error msg is: The view foo.users.views.updateinfo didn't return an HttpResponse object. I've followed religiously the ChangeManipulator example on the tutorial and it seems to me that all code paths in this upd