AttributeError: 'HttpResponseServerError' object has no attribute '_is_string'

Issue #221 new
Sergey Panfilov
created an issue

If error in Resource method is handled by Resource.error_handler, then django.http.HttpResponseServerError is returned (PISTON_DISPLAY_ERRORS = True). It misses _is_string attribute, which causes exception in piston/, line 183, in call

Comments (8)

  1. bryan baraoidan

    The solution above did not work for me (developing in archlinux 32-bit django 1.4 piston 0.2.3). I was able to resolve the issue making the following changes to (details in attached patch)

  2. Log in to comment