aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2014-04-14Fixed return typeVladislav Vlastovskiy
From bytes to str
2014-04-14Removed encode from testVladislav Vlastovskiy
Django does not produce such a decoding by default, this test was not honest.
2014-04-14Fixed parse file nameVladislav Vlastovskiy
2014-04-13Use setattr for adding fields to a new instanceIan Foote
Add test for restoring a GenericForeignKey
2014-04-13Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: .travis.yml docs/api-guide/fields.md docs/api-guide/routers.md docs/topics/release-notes.md rest_framework/authentication.py rest_framework/serializers.py rest_framework/templatetags/rest_framework.py rest_framework/tests/test_authentication.py rest_framework/tests/test_filters.py rest_framework/tests/test_hyperlinkedserializers.py rest_framework/tests/test_serializer.py rest_framework/tests/test_testing.py rest_framework/utils/encoders.py tox.ini
2014-04-12Set GenericForeignKey fields on object before saveIan Foote
* A model with a required GenericForeignKey can be saved if the field is set
2014-04-11Fix dict_keys equality test for python 3.Ian Leith
2014-04-10Allow unicode YAML dump with UnicodeYAMLRendererMiro Hrončok
Fixes #1519
2014-04-09Add more TRAILING_PUNCTUATION to work with YAML.Miro Hrončok
Fixes #1517
2014-04-09Skip new test for Django < 1.6Carlton Gibson
2014-04-09Merge branch 'refs/heads/master' into #1408Carlton Gibson
2014-04-09Adds test that blank option is added when required=False on RelatedFieldsCarlton Gibson
2014-04-07Fixed comment.Mauro de Carvalho
2014-04-07set Retry-After header when throttledDmitry Mukhin
2014-04-07reset stored credentials when call client.logout()Nicolas Delaby
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-03-31Content is a binary string.Xavier Ordoquy
2014-03-31add regression tests for field ValidatorsRavi Kotecha
pep8 and add issue no fix formatting for python 2.6 and strings for python 3.2
2014-03-31Merge pull request #1477 from vlastv/patch-1Xavier Ordoquy
Writable star source with instance
2014-03-30Stray unicode string marker removedEmanuele Pucciarelli
2014-03-30Metadata for related fields -- added test case.Emanuele Pucciarelli
2014-03-28Do not check model_field's attributes if it is NoneEmanuele Pucciarelli
2014-03-24Use help_text, verbose_name, editable attributes for related fieldsEmanuele Pucciarelli
2014-03-22Fixed encoding parameter in QueryDictDaniel Kontsek
2014-03-21Merge pull request #1469 from entrouvert/masterTom Christie
authentication: allow all transport modes of access token in OAuth2Authentication
2014-03-20Change serializer name for removing confusionVladislav Vlastovskiy
2014-03-20Merge pull request #1474 from elmehdikarami/masterTom Christie
Update serializers.py
2014-03-20Fixed copy-pasteVladislav Vlastovskiy
2014-03-20Moved get component from object after test source is starVladislav Vlastovskiy
2014-03-20Added test writable star sourceVladislav Vlastovskiy
Uses nested serializer with parent object
2014-03-19Update serializers.pyelmkarami
2014-03-19Update serializers.pyelmkarami
Prevent iterating over a string that is supposed to be an iterable <==> Prevent read_only_fields = ('some_string)
2014-03-19Update serializers.pyelmkarami
Prevent iterating over a string that is supposed to be an iterable <==> Prevent read_only_fields = ('some_string)
2014-03-19authentication: allow all transport modes of access token in ↵Benjamin Dauvergne
OAuth2Authentication RFC6750 describe three transport modes for access tokens when accessing a protected resource: - Auhthorization header with the Bearer authentication type - form-encoded body parameter - URI query parameter This patch add support for last two transport modes.
2014-03-07Reintroduced url arguments in the urls for the tests.Xavier Ordoquy
2014-03-07Don't barf if PIL is not installed.Tom Christie
2014-03-07Merge pull request #1460 from inglesp/issue1434Tom Christie
Add SEARCH_PARAM and ORDERING_PARAM to settings
2014-03-06Use six to reload modulePeter Inglesby
2014-03-06Merge pull request #1459 from linovia/bugfix/optional_unique_validationCarlton Gibson
Unique constraint are validated even if the field is optional.
2014-03-06Add SEARCH_PARAM and ORDERING_PARAM to settingsPeter Inglesby
Fixes #1434
2014-03-06it's safe to import scope and constantsEric Buehl
2014-03-06Merge remote-tracking branch 'upstream/master'Eric Buehl
2014-03-06Fixed the validation for optional fields that have a value.Xavier Ordoquy
2014-03-06More complex test case.Xavier Ordoquy
2014-03-06Forgot to add the ref field to the field list.Xavier Ordoquy
2014-03-06Added an optional unique field to Album and checked that duplicates are ↵Xavier Ordoquy
detected.
2014-03-06It's 2014 now, dontchaknowTom Christie
2014-03-06Version 2.3.132.3.13Tom Christie
2014-03-05don't implicitly import provider.oauth2Eric Buehl
2014-03-05Fix typoRodolfo Carvalho