aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests
AgeCommit message (Collapse)Author
2013-02-22Fix and test for #645Tom Christie
Yuck, pickle is weird. Closes #645.
2013-02-22FormattingTom Christie
2013-02-22Merge pull request #669 from yprez/datetimefield_failTom Christie
DateTimeField validation with non-str value
2013-02-22Fix and test case for #653Tom Christie
Closes #653
2013-02-22Tests and fix for #666.Tom Christie
Closes #666.
2013-02-22Added test for utf8 strings in docstrings of views.Tom Christie
2013-02-22defusedxml for security fix.Tom Christie
As per: http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html
2013-02-21Add assertion in testYuri Prezument
2013-02-21Failing test case for #669Yuri Prezument
2013-02-20Merge branch 'browsable_api_patch' of ↵Tom Christie
https://github.com/wronglink/django-rest-framework into generic-form-input
2013-02-15Added tests for PATCH form in the Browsable APIMichael Elovskikh
2013-02-14Added a serializer TimeFieldAndreas Pelme
2013-02-14request.DATA should use empty QueryDict for no data, not None.Tom Christie
2013-02-13Fix pk relations tests which were not running.Tom Christie
2013-02-12Test for None in 'dotted.source' component.Tom Christie
Closes #643.
2013-02-12Unicode literal fixTom Christie
2013-02-12Test for #637.Tom Christie
2013-02-12Remove deprecated APIs from testsTom Christie
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-10Enforce PUT-as-create permissionsTom Christie
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-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-04Merge branch 'master' into 2.2Tom Christie
2013-02-04Fix incorrect test name. Fixes #635Tom Christie
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
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-04Use request.QUERY_PARAMS internallyTom Christie
(instead of request.GET)
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-30Merge branch 'master' into many-fieldsTom Christie
Conflicts: rest_framework/relations.py
2013-01-30Added regretion test for issue #632Fernando Rocha
Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>
2013-01-28Ensure model field validation is performed for ModelSerializers with a ↵Tom Christie
custom restore_object method. Fixes #623.
2013-01-26Merge branch 'master' into many-fieldsTom Christie
2013-01-26Test for custom pagination serializers. Also refs #604.Tom Christie
2013-01-25Test for GFK, using RelatedField. Refs #607.Tom Christie
2013-01-25Cleaning up GFK test module. Refs #607.Tom Christie
2013-01-24Test for #552.Tom Christie
2013-01-23Merge pull request #603 from minddust/validation_errorTom Christie
Add failed testcase for fieldvalidation + fix
2013-01-23Add separate test for failed custom validationStephan Groß
2013-01-22Merge branch 'master' into unauthenticated_responseTom Christie
Conflicts: docs/api-guide/authentication.md
2013-01-21WWW-Authenticate responsesTom Christie
2013-01-21Tweaked some method names to be more clear and added a docstring to the test ↵Kevin Stone
case class. Signed-off-by: Kevin Stone <kevinastone@gmail.com>
2013-01-21Add failed testcase for fieldvalidationStephan Groß
2013-01-20Added test case for format_suffix_patterns to validate changes introduced ↵Kevin Stone
with issue #593. Signed-off-by: Kevin Stone <kevinastone@gmail.com>