[wingide-users] Python or maybe a Wing IDE question.
Wing IDE Support
support at wingware.com
Tue Jul 24 09:11:58 MDT 2012
On 7/23/12 8:22 PM, Joe Goldthwaite wrote:
> Hi Everyone,
>
> I'm trying to debug a django application and am running into a problem
> on this segment;
>
> try:
> request.session['user_obj']
> return HttpResponseRedirect('/myprofile/')
> except Exception as ex:
> pass
>
> The IDE is blowing up on the requst.session['user_obj'] line.
Is it stopping on a KeyError exception or something else? You do
probably want to check that you're using the When Printed reporting mode
in the Exception preferences.
Thanks,
John
More information about the wingide-users
mailing list