Skip to content

Commit

Permalink
Merge 498fe03 into 795bd66
Browse files Browse the repository at this point in the history
  • Loading branch information
fungjj92 committed Jan 16, 2020
2 parents 795bd66 + 498fe03 commit 7f4298d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_tinsel/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def newreq(request, *args, **kwargs):
response['Content-Type'] = content_type

except HttpBadRequestException as bad_request:
response = HttpResponseBadRequest(bad_request.message)
response = HttpResponseBadRequest(bad_request)

return response
return newreq
Expand Down

0 comments on commit 7f4298d

Please sign in to comment.