This commit is contained in:
Adam Nelson 2017-06-03 01:27:07 +00:00 committed by GitHub
commit d4e975f42b
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# PEP8 code linting, which we run on all commits.
flake8==2.4.0
pep8==1.5.7
flake8==3.0.4
pep8==1.7.0
# Sort and lint imports
isort==4.2.5

View File

@ -2,10 +2,10 @@
wheel==0.29.0
# Twine for secured PyPI uploads.
twine==1.6.5
twine==1.8.1
# Transifex client for managing translation resources.
transifex-client==0.11
transifex-client==0.12.2
# Pandoc to have a nice pypi page
pypandoc

View File

@ -457,7 +457,7 @@ class APIView(View):
renderer_format = getattr(request.accepted_renderer, 'format')
use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
request.force_plaintext_errors(use_plaintext_traceback)
raise
raise exc
# Note: Views are made CSRF exempt from within `as_view` as to prevent
# accidental removal of this exemption in cases where `dispatch` needs to