- 14 Jan, 2016 6 commits
-
-
QueryParameterVersioning does not fall back to the value used in the `DEFAULT_VERSION` setting, while other versioning schemes do. This looks like a minor change, and incorporates the `self.default_version` set in the superclass. I'll sheepishly admit that I edited this inline without running any tests or anything, so please let me know if this needs more work.
Brad Montgomery committed -
Display py.test internal warnings
Tom Christie committed -
Regarding #3729
Xavier Ordoquy committed -
Document how to tweak authtoken.admin.TokenAdmin
Tom Christie committed -
python -Werror generates warnings informing that on_delete is a required keyword in Django 2.0
Mads Jensen committed -
With focus on large user base, but can be extended.
Nicolas Delaby committed
-
- 13 Jan, 2016 2 commits
-
-
2015 update in __init__.py file
Tom Christie committed -
Mads Jensen committed
-
- 11 Jan, 2016 7 commits
-
-
update copyright 2016
Tom Christie committed -
Zach Wernberg committed
-
Fixed TimeField not handling empty values
Xavier Ordoquy committed -
areski committed
-
areski committed
-
PY2: DateField.to_representation can't work with unicode value
Xavier Ordoquy committed -
Mikalai Radchuk committed
-
- 10 Jan, 2016 1 commit
-
-
Fixes #3786
José Padilla committed
-
- 07 Jan, 2016 3 commits
-
-
Added documentation for the third party jsonapi.org package
Xavier Ordoquy committed -
Jerel Unruh committed
-
Fix nested validation error being rendered incorrectly.
Tom Christie committed
-
- 06 Jan, 2016 6 commits
-
-
Minor fix for dictionary key lookup in settings file
Mads Jensen committed -
Fixes #3804, avoiding update of Meta.extra_kwargs
Tom Christie committed -
Added unit test to cover.
Kevin Massey committed -
Typo fix in docs/api-guide/relations.md
Xavier Ordoquy committed -
`slug field` in code snippet was replaced to `slug_field`
m1kola committed -
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']})
Craig de Stigter committed
-
- 05 Jan, 2016 4 commits
-
-
don't import authtoken model until needed
Tom Christie committed -
S. Andrew Sheppard committed
-
S. Andrew Sheppard committed
-
S. Andrew Sheppard committed
-
- 04 Jan, 2016 3 commits
-
-
Min/MaxValueValidator is no longer transferred from a model's DecimalField
Xavier Ordoquy committed -
These two tests were previously added in https://github.com/tomchristie/django-rest-framework/commit/7d79cf35b7be01b175d8c25276a4414e8144a16b but we have now discovered that there are not actually two separate cases, there was just a bug in the code that made it look that way. This also removes a redundant check to see if `DecimalValidator` was defined.
Kevin Brown committed -
Make code block consistent in serialization tutorial
Xavier Ordoquy committed
-
- 02 Jan, 2016 1 commit
-
-
All the other code blocks in the Serialization tutorial can be copied and pasted, but there is one that includes the >>> shell prompt characters. This commit removes those characters, and also makes the output consistent with other code blocks by making it a comment.
craigglennie committed
-
- 01 Jan, 2016 3 commits
-
-
Initial fixes #3636 and fixes #3637
Xavier Ordoquy committed -
Luis San Pablo committed
-
Luis San Pablo committed
-
- 30 Dec, 2015 1 commit
-
-
S. Andrew Sheppard committed
-
- 29 Dec, 2015 1 commit
-
-
Add HTTP status code 451 to status.py
Tom Christie committed
-
- 24 Dec, 2015 2 commits
-
-
This test was incorrectly checking that there were no validators set in older versions of Django, even though it should have been checking for the two validators that were set up on the model field level. The originally regression test that this fixes was added in https://github.com/tomchristie/django-rest-framework/commit/7d79cf35b7be01b175d8c25276a4414e8144a16b when fixing an issue with the `DecimalValidator`.
Kevin Brown committed -
Previously, all validators set on a DecimalField in Django would be stripped when converted to a Django REST framework field. This was because any validator that was an instance of `DecimalValidator` would be removed, and when `DecimalValidator` wasn't supported (so it was `None`), all validators would be removed. This fixes the issue by only removing the `DecimalValidator` instances if the `DecimalValidator` is supported.
Kevin Brown committed
-