Activity log for bug #634382

Date Who What changed Old value New value Message
2010-09-09 19:32:17 krig bug added bug
2010-09-09 19:34:52 krig description Django 1.2.2 Scipio 0.2 In views.py, "complete" function: results = signals.authenticated.send(request, user=user, **data) for r in results: if isinstance(r, http.HttpResponse): response = r[1] break isinstance(r, http.HttpResponse) never returns True, as results is list of tuples (signal callback, callback result). Correct code is: if isinstance(r[1], http.HttpResponse): response = r[1] break PS: Sorry, can't attach this fix as a patch as currently scipio version I use is slightly modified. Will publish a fork to github when will be ready to use as standalone app. Django 1.2.2 Scipio 0.2 In views.py, "complete" function: results = signals.authenticated.send(request, user=user, **data) for r in results:   if isinstance(r, http.HttpResponse):     response = r[1]     break isinstance(r, http.HttpResponse) never returns True, as results is list of tuples (signal callback, callback result). Correct code is: if isinstance(r[1], http.HttpResponse):   response = r[1]   break PS: Sorry, can't attach this fix as a patch as currently scipio version I use is slightly modified. Will publish a fork to github when will be ready to use as standalone app.
2010-09-09 19:35:13 krig description Django 1.2.2 Scipio 0.2 In views.py, "complete" function: results = signals.authenticated.send(request, user=user, **data) for r in results:   if isinstance(r, http.HttpResponse):     response = r[1]     break isinstance(r, http.HttpResponse) never returns True, as results is list of tuples (signal callback, callback result). Correct code is: if isinstance(r[1], http.HttpResponse):   response = r[1]   break PS: Sorry, can't attach this fix as a patch as currently scipio version I use is slightly modified. Will publish a fork to github when will be ready to use as standalone app. Django 1.2.2 Scipio 0.2 In views.py, "complete" function: results = signals.authenticated.send(request, user=user, **data) for r in results:   if isinstance(r, http.HttpResponse):     response = r     break isinstance(r, http.HttpResponse) never returns True, as results is list of tuples (signal callback, callback result). Correct code is: if isinstance(r[1], http.HttpResponse):   response = r[1]   break PS: Sorry, can't attach this fix as a patch as currently scipio version I use is slightly modified. Will publish a fork to github when will be ready to use as standalone app.
2010-09-14 15:28:56 Ivan Sagalaev scipio: status New Fix Committed