django-rest-framework/rest_framework
Stian Jensen 62c000bc12 Use model error_messages when available
In the automatically applied UniqueValidator, use the error message from
error_messages defined in the model instead of the generic default
UniqueValidator message.

This fixes #2878.
2015-09-23 15:20:44 +02:00
..
authtoken Sort imports with isort 2015-06-25 16:55:51 -04:00
locale Update the translations. 2015-09-21 08:07:56 +02:00
static/rest_framework Merge pull request #2926 from tomchristie/admin-style 2015-07-30 15:01:37 +01:00
templates/rest_framework Remove erronous checkin 2015-08-21 10:57:46 +01:00
templatetags Fix for 1, 0 being rendered as true, false in the admin. Closes #3227. 2015-08-07 14:38:36 +01:00
utils Use model error_messages when available 2015-09-23 15:20:44 +02:00
__init__.py Bump version to 3.2.4. 2015-09-20 22:04:25 +02:00
authentication.py Remove Django 1.4 compat code 2015-08-07 00:02:29 +02:00
compat.py Do not access settings on compat import 2015-09-03 14:22:13 +01:00
decorators.py Cleanup import following PEP 8 style guide 2015-06-25 16:10:17 -04:00
exceptions.py Errors in browsable API on error. Closes #3024. 2015-07-23 14:31:25 +01:00
fields.py Merge pull request #3415 from adamsc64/issue_2761 2015-09-21 13:06:44 +02:00
filters.py Fix #3323 2015-08-24 17:02:49 +03:00
generics.py Sort imports with isort 2015-06-25 16:55:51 -04:00
metadata.py Include nested objects in metadata for OPTIONS. Closes #3156. Closes #2915. 2015-07-16 15:17:18 +01: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 Sort imports with isort 2015-06-25 16:55:51 -04:00
pagination.py Guard against LimitOffsetPagination edge case. Closes #3303. 2015-08-20 10:12:52 +01:00
parsers.py Sort imports with isort 2015-06-25 16:55:51 -04:00
permissions.py Sort imports with isort 2015-06-25 16:55:51 -04:00
relations.py Docs for select cutoffs 2015-08-21 10:52:44 +01:00
renderers.py Allow AdminRenderer to function when pagination is disabled. Closes #3275. 2015-08-20 12:28:00 +01:00
request.py Fix erronous request.files docs, and incorrect request.FILES behavior. Closes #3261. 2015-08-11 16:21:02 +01:00
response.py Raise error if passed a serializer instance 2015-08-07 13:12:37 -04:00
reverse.py Merge master 2015-07-23 15:28:29 +01:00
routers.py Remove Django 1.4 compat code 2015-08-07 00:02:29 +02:00
serializers.py Add assert statement to .save() method in Serializer: 2015-09-22 11:49:51 -07:00
settings.py Empty settings should also be coerced to lists. Closes #3087. 2015-07-02 10:28:46 +01:00
status.py Code linting and added runtests.py 2014-08-19 13:28:07 +01: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 Sort imports with isort 2015-06-25 16:55:51 -04:00
validators.py Cleanup import following PEP 8 style guide 2015-06-25 16:10:17 -04: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