aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/exceptions.py
AgeCommit message (Collapse)Author
2015-01-07swap backticks for double quotesCraig Blaszczyk
2015-01-07prefer single quotes in source and double quotes in user visible strings; ↵Craig Blaszczyk
add some missing full stops to user visible strings
2015-01-07use double quotes in user messagesCraig Blaszczyk
2015-01-07use double quotes for user visible strings; end user visible strings in full ↵Craig Blaszczyk
stops; add some missing translation tags
2015-01-07switch to using format strings in error messages; raise NotFound when ↵Craig Blaszczyk
pagination fails to provide a more useful error message
2015-01-02add missing period; update generated translationsCraig Blaszczyk
2015-01-02update error messages for language and consistencyCraig Blaszczyk
2015-01-02fix spelling & grammar errorsCraig Blaszczyk
2014-12-18Merge branch 'master' into version-3.1Tom Christie
2014-12-17str() -> six.text_type(). Closes #2290.Tom Christie
2014-12-17More docs, plus 'ALLOWED_VERSIONS' setting.Tom Christie
2014-12-04Removed custom StringIO, force_text, smart_text compatTymur Maryokhin
2014-11-20Make _force_text_recursive private.Tom Christie
2014-11-19Use translatable error strings. Refs #2063.Tom Christie
2014-11-10#2054: Update exceptions to allow custom detailKevin London
This addresses the changes requested in #2054 and allows for custom messages that do not necessarily require a string formatter be present in the detail message.
2014-10-17Use serializers.ValidationErrorTom Christie
2014-10-10exceptions.ValidationFailed, not Django's ValidationErrorTom Christie
2014-09-08More test sortingTom Christie
2014-09-05Workin onTom Christie
2014-08-20Merge branch 'master' into set-retry-afterDmitry Mukhin
Conflicts: tests/test_throttling.py
2014-08-19Code linting and added runtests.pyTom Christie
2014-04-07set Retry-After header when throttledDmitry Mukhin
2014-04-04add a __str__ implementation to APIExceptionjacobg
Add a __str__ implementation to rest_framework.exceptions.APIException. This helps for logging raised exceptions. Thanks.
2014-02-10Replace 'detail' with 'default_detail' in Exceptions guide and APIException ↵Hassan Shamim
class docstring.
2014-01-13Minor cleanupTom Christie
2013-10-24reworked APIException, pushing some of the status_code and detail management ↵Chris Guethle
up. Also, makes the APIException useful in isolation (defaults to status code 500)
2013-06-05Remove ConfigurationError in favor of Django's ImproperlyConfiguredTom Christie
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
2012-11-09Merge with masterTom Christie
2012-10-29Fixes for urls with suffixesTom 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-17Use correct status codeTom Christie
2012-10-17Add `Unauthenticated` exception.Tom Christie
2012-09-26Fix @api_view decorator testsTom Christie
2012-09-20Change package name: djangorestframework -> rest_frameworkTom Christie