django-rest-framework/rest_framework
Craig de Stigter 651319e2da Fix nested validation error being rendered incorrectly.
Previously an extra list wrapped nested validation errors raised from serializer's validate() methods.
That was inconsistent with the format of validation errors raised by validate_<fieldname> methods.
i.e. these two resulted in *different* behaviour:

    def validate_foo(self):
        raise ValidationError(['bar'])

    def validate(self):
        raise ValidationError({'foo': ['bar']})
2016-01-06 16:05:43 +13:00
..
authtoken don't import authtoken model until needed 2015-12-30 15:44:19 -06:00
locale Translations update. 2015-12-14 07:31:38 +01:00
static/rest_framework #3228 - add confirm modal for delete 2015-12-01 07:51:29 -05:00
templates/rest_framework Fixes #3756, adding the name to the HTML title, if it exists. 2015-12-22 10:31:18 -08:00
templatetags Fix template.render deprecation warnings for 1.9+ 2015-11-18 17:06:35 +01:00
utils Merged two DecimalValidator tests together 2016-01-04 10:22:17 -05:00
__init__.py Bump version to 3.3.2 2015-12-14 07:33:17 +01:00
authentication.py update invalid token case 2016-01-05 09:42:22 -06:00
compat.py Make DRF compatible with multi template engine in Django 1.8 2015-11-25 07:37:01 +01:00
decorators.py Cleanup import following PEP 8 style guide 2015-06-25 16:10:17 -04:00
exceptions.py Replaced all dict and set conversions from lists to dict and set literals. 2015-10-17 12:00:11 +03:00
fields.py changed datefield to match code layout of datetime and time changes 2015-12-17 12:21:44 -07:00
filters.py AutoFilterSet should subclass from self.default_filter_set 2015-12-16 15:36:07 -08:00
generics.py Sort imports with isort 2015-06-25 16:55:51 -04:00
metadata.py Replaced all dict and set conversions from lists to dict and set literals. 2015-10-17 12:00:11 +03:00
mixins.py Cleanup import following PEP 8 style guide 2015-06-25 16:10:17 -04:00
models.py Move models.resolve_model to serializers._resolve_model 2014-01-13 11:47:44 -05:00
negotiation.py More cleanup of browser overrides 2015-09-28 15:33:55 +01:00
pagination.py Merge pull request #3631 from syphar/paginat 2015-11-30 20:58:32 +00:00
parsers.py docstring typo fix: DateAndFiles -> DataAndFiles 2015-12-16 10:42:10 -08:00
permissions.py Ensure Django{Model,Object}Permissions don't hide exceptions. 2015-11-27 12:46:30 +02:00
relations.py Implement __getnewargs__ for #3628 2015-12-03 21:12:03 +00:00
renderers.py Fixed suggestion for format in test renderer 2015-12-10 15:19:03 -08:00
request.py Use REST framework request parsing when accessing old-style .POST 2015-11-04 14:10:51 +00:00
response.py Django 1.9's test case HttpResponse.json() is not cachable. 2015-08-28 11:55:23 +01:00
reverse.py More cleanup of browser overrides 2015-09-28 15:33:55 +01:00
routers.py Replaced all dict and set conversions from lists to dict and set literals. 2015-10-17 12:00:11 +03:00
serializers.py Fix nested validation error being rendered incorrectly. 2016-01-06 16:05:43 +13:00
settings.py Lint import ordring 2015-12-16 18:46:23 -06:00
status.py The Internet Engineering Task Force approved the new HTTP status code 451. Adding to status.py and docs appropriately. 2015-12-23 12:54:17 -08:00
test.py Bump minimum Django version to 1.5 2015-07-30 15:43:39 +01:00
throttling.py Cleanup import following PEP 8 style guide 2015-06-25 16:10:17 -04:00
urlpatterns.py Sort imports with isort 2015-06-25 16:55:51 -04:00
urls.py Add app_name to rest_framework.urls. 2015-12-08 02:25:00 +01:00
validators.py Replaced all dict and set conversions from lists to dict and set literals. 2015-10-17 12:00:11 +03:00
versioning.py Sort imports with isort 2015-06-25 16:55:51 -04:00
views.py Remove Django 1.4 compat code 2015-08-07 00:02:29 +02:00
viewsets.py Fix 'metadata' action on viewsets. Closes #3158. Closes #3157. Closes #3115. 2015-07-16 10:08:22 +01:00