aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/exceptions.md
AgeCommit message (Collapse)Author
2015-02-26Docs on exception handler context. Closes #2604.Tom Christie
2015-01-19Merge masterTom Christie
2015-01-06Update exception docs. Closes #2378.Tom Christie
2014-12-17More docs, plus 'ALLOWED_VERSIONS' setting.Tom Christie
2014-12-14Update docsJosé Padilla
2014-11-25Merge masterTom Christie
2014-11-25Use MkDocs meta.source to render source code linksJosé Padilla
2014-11-25Docs on ValidationErrorTom Christie
2014-11-25request.DATA, request.FILES -> request.dataTom Christie
2014-09-17Fixed code formattingMatthew J Morrison
2014-09-17Clarify "raised inside REST framework"Matthew J Morrison
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.
2014-02-10Replace 'detail' with 'default_detail' in Exceptions guide and APIException ↵Hassan Shamim
class docstring.
2014-01-31Fix doc for custom exception samplePaul Melnikow
The way to provide a default detail for APIException is to define a `default_detail` attribute on the subclass. Defining a `detail` attribute without `default_detail` will not work, and will result in empty detail instead.
2013-12-21Added example of using APIException class. Closes #1300Tom Christie
2013-10-21Remove the detail=None from APIException signatureJesús Espino
The documentation not match with the implementation. The APIException doesn't have detail parameter in the constructor class, actually doesn't have constructor method at all.
2013-09-07Extra docs on custom exception handling.Tom Christie
2013-09-06Add EXCEPTION_HANDLER docs to exception docsAndy Freeland
2012-11-09Merge with masterTom Christie
2012-10-21Fixing spelling errors.Marko Tibold
2012-10-17Split up doc sections more cleanlyTom Christie
2012-10-17Use two seperate exceptions - `AuthenticationFailed`, and `NotAuthenticated`Tom Christie
Cleaner seperation of exception and resulting HTTP response. Should result in more obvious error messages.
2012-10-17Add `Unauthenticated` exception.Tom Christie
2012-10-15Tweak parsers to take parser_contextTom Christie
2012-09-12GitHub link in toolbarTom Christie
2012-09-12Updating docsTom Christie
2012-09-08Links to source files in docsTom Christie
2012-09-01REST framework 2 docsTom Christie