aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
AgeCommit message (Collapse)Author
2013-02-12Raise warnings if 'request' not in context for hyperlinked fields.Tom Christie
2013-02-12Raise warnings on implicit many serializationTom Christie
2013-02-12Drop `six` module from coverage.Tom Christie
2013-02-12Tidy up internal view permission checking logic.Tom Christie
Also document correctly - these methods are now public and will fall under the deprecation policy from now on.
2013-02-12New style object-level permission checksTom Christie
2013-02-11Merge pull request #651 from fernandogrd/masterTom Christie
DictWithMetadata.__getstate__ was never called (Fix for 645)
2013-02-11Make use o issubclass instead of isinstance (fix issue #645)Fernando Rocha
Because __mro__ is a list of classes and not instances. DictWithMetadata.__getstate__ was never called Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>
2013-02-10Add object permissions tests.Tom Christie
2013-02-10Fix incorrect 401 vs 403 response, if lazy authentication has not taken place.Tom Christie
2013-02-10Enforce PUT-as-create permissionsTom Christie
2013-02-10Bugfix for DjangoModelPermissions. Fixes #437Tom Christie
Turns out that Django's default permissions backend always returns False when checking object-level permissions, even if the user does have valid global permissions.
2013-02-10Tests for DjangoModelPermissions.Tom Christie
2013-02-07Allow serializers to handle dicts as well as objects. Fixes #447.Tom Christie
2013-02-07Use new style of `required=<bool>` not `blank` or `null`Tom Christie
2013-02-07Use new many=True relations style.Tom Christie
2013-02-06Added a `post_save` hook. Closes #558.Tom Christie
2013-02-06Merge pull request #640 from mjtamlyn/remove-naked-exceptsTom Christie
Purge naked excepts.
2013-02-06Try the correct NoReverseMatch location.Marc Tamlyn
2013-02-06Purge naked excepts.Marc Tamlyn
Most of these had obvious exceptions which would be thrown. Some I'm not sure about but they should at least catch only Exception so as not to ignore SystemExit and other inappropriate Error classes.
2013-02-06Set many explicitly from mixins. Refs #564.Tom Christie
2013-02-06Fix mismatch between template blocks and docs.Tom Christie
Fixes #639.
2013-02-06Don't deprecate 'exclude'Tom Christie
Need to track outcome of Django's #19733, and decide on approach accordingly.
2013-02-04Fix 2.6 compatTom Christie
2013-02-04Merge branch 'master' into 2.2Tom Christie
2013-02-04Fix incorrect test name. Fixes #635Tom Christie
2013-02-04Deal with parser encodings properlyTom Christie
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
2013-02-04remove broken importTom Christie
2013-02-04Merge branch 'py3k' into 2.2Tom Christie
Conflicts: rest_framework/relations.py rest_framework/serializers.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_slug.py
2013-02-04Don't use deprecated xml styleTom Christie
2013-02-04Use request.QUERY_PARAMS internallyTom Christie
(instead of request.GET)
2013-02-01Py3k cleanupTom Christie
2013-02-013.2, 3.3 compatTom Christie
2013-02-01Merge branch 'p3k' of https://github.com/linovia/django-rest-framework into ↵Tom Christie
working Conflicts: rest_framework/authentication.py rest_framework/relations.py rest_framework/serializers.py rest_framework/settings.py rest_framework/tests/authentication.py rest_framework/tests/genericrelations.py rest_framework/tests/generics.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_nested.py rest_framework/tests/relations_pk.py rest_framework/tests/serializer.py
2013-01-31Serializers take `many=<bool>` argument.Tom Christie
2013-01-30TidyingTom Christie
2013-01-30Add dprecation warningsTom Christie
2013-01-30Tweak empty list implementationTom Christie
2013-01-30Merge branch 'master' into many-fieldsTom Christie
Conflicts: rest_framework/relations.py
2013-01-30Formatting fixesTom Christie
2013-01-30Use many=True style for pk relations.Tom Christie
2013-01-30Added regretion test for issue #632Fernando Rocha
Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>
2013-01-29Fix processing of ManyToManyField when it is emptyFernando Rocha
Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>
2013-01-28Update rest_framework/serializers.pyAndrea de Marco
2013-01-28Ensure model field validation is performed for ModelSerializers with a ↵Tom Christie
custom restore_object method. Fixes #623.
2013-01-28Login page styles fix. Closes #618. Made with :cookie:Michael Elovskikh
2013-01-26Merge branch 'master' into many-fieldsTom Christie
2013-01-26Version 2.1.172.1.17Tom Christie
2013-01-26Test for custom pagination serializers. Also refs #604.Tom Christie
2013-01-26Fix issues with custom pagination serializersTom Christie