aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_relations.py
diff options
context:
space:
mode:
authorMatthew J Morrison2014-09-17 07:49:54 -0500
committerMatthew J Morrison2014-09-17 07:49:54 -0500
commite5af0bbb353e772473b1d9fcfc896bfd7365db2a (patch)
tree2129b68f9c0e61b80444c2e153bbee4ebb2c96a8 /tests/test_relations.py
parent92fb08bc6d66c33e7b4ea6689b300cf83e0b06d8 (diff)
downloaddjango-rest-framework-e5af0bbb353e772473b1d9fcfc896bfd7365db2a.tar.bz2
Clarify "raised inside REST framework"
I ran into an issue today where I was not seeing the rest_framework.views.exception_handler do what I thought it should be doing. It turned out that I had imported View from rest_framework.views rather than importing APIView from rest_framework.views. The phrase "raised inside REST framework" was confusing as I was debugging this issue. I was unsure if that meant that I could raise those exceptions in my code or if it had to originate from within framework code. I'm not sure if the proposed wording is ideal, I just wanted to point out what I found to be confusing.
Diffstat (limited to 'tests/test_relations.py')
0 files changed, 0 insertions, 0 deletions