Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed missing request parameter in ajax exception handling

  • Loading branch information...
commit 70265537b4d3b4b2ad927a5570dad49aec06f264 1 parent 918e850
@mlouro mlouro authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jsonit/decorators.py
View
2  jsonit/decorators.py
@@ -17,7 +17,7 @@ def dec(request, *args, **kwargs):
return func(request, *args, **kwargs)
except Exception, e:
if request.is_ajax():
- return JSONResponse(exception=e)
+ return JSONResponse(request, exception=e)
raise
return dec
Please sign in to comment.
Something went wrong with that request. Please try again.