aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests
AgeCommit message (Collapse)Author
2013-11-12Merge branch 'master' into allow-aggregate-orderingAlex
2013-11-12Add queryset aggregates to allowed fields in OrderingFilterAlex
2013-11-06Drop u'' prefix for python 3.x compatibilityMathieu Pillard
2013-11-05Improve handling of 'empty' values for ChoiceFieldMathieu Pillard
The empty value defaults back to '' (for backwards-compatibility) but is changed automatically to None for ModelSerializers if the `null` property is set on the db field.
2013-10-24Fixed UnicodeEncodeError when POST JSON via web interface; added testalexanderlukanin13
2013-10-21remove stray func from testRoss McFarland
2013-10-19paginator should validate page and provide defaultRoss McFarland
- use the standard paginator.validate_number method rather strict_postive_int. - support optional paginator method, default_page_number, to get the default page number rather than hard-coding it to 1 - this allows supporting non-integer based pagination which can be an important performance tweak on extermely large datasets or high request loads - relatively thorough unit tests of the changes
2013-10-17Merge pull request #1170 from craigds/write-into-foreignkey-with-sourceTom Christie
fix writing into foreign key with non-null source
2013-10-17Merge pull request #1112 from tamakisquare/issue-1111Tom Christie
Test case and fix for issue 1111
2013-10-17Fix decimal support with YAMLRendererbadaud_t
2013-10-17Fix typo YAMLRendererTestsbadaud_t
2013-10-11fix ticket link in test docstringCraig de Stigter
2013-10-11fix writing into foreign key with non-null sourceCraig de Stigter
2013-10-10Merge branch 'master' of https://github.com/tomchristie/django-rest-frameworkTom Christie
2013-10-10Merge branch 'html-form-rendering'Tom Christie
2013-10-10Ensure read-only fields don't break with current HTML renderer behaviorTom Christie
2013-10-09Merge pull request #1071 from craigds/field-transform-methodsCarlton Gibson
Feature: add transform_<fieldname> methods to serializers
2013-10-03Merge remote-tracking branch 'upstream/master'Philip Douglas
2013-10-03add tests for transform_fieldname methodsCraig de Stigter
2013-09-23Address pending deprecation of Model._meta.module_name in Django 1.6Markus Kaiserswerth
2013-09-20Correct typo in doc string.Carlton Gibson
2013-09-20Clear cached serializer data on `save()` + test. Fixes #1116.Carlton Gibson
2013-09-15[Add]: CustomValidationTests.test_partial_updateColin Huang
This test is to make sure that validate_<attrname> is not called when partial=True and <attrname> is not found in .data.
2013-09-13Typo in strings referring to Python package, django-filter.Rajiv Bose
On skip of django_filters related unit-tests the reason given states the Python package 'django-filters' is not install. However, the Python package required to run django_filters related tests is 'django-filter'.
2013-09-13Merge remote-tracking branch 'upstream/master'Philip Douglas
2013-09-12Add missing newline at the end of test filePhilip Douglas
2013-09-12Fix error when serializer gets files but no dataPhilip Douglas
2013-09-10Tweaks and docs to object-level model permissions.Tom Christie
2013-09-10Merge branch 'master' of git://github.com/bwreilly/django-rest-framework ↵Tom Christie
into bwreilly-master
2013-09-09removed unnecessary guardian req and view.action parsingbwreilly
2013-09-07first pass at object level permissions and testsbwreilly
2013-09-06Support customizable view EXCEPTION_HANDLERAndy Freeland
Add `api_settings.EXCEPTION_HANDLER` to support custom error responses. Fixes #907.
2013-09-06some properly failing tests, set up for standard permissionsbwreilly
2013-09-06added guardian as optional requirement, stubbed out object-level permission ↵bwreilly
class
2013-09-05Merge pull request #1076 from edmondwong/masterTom Christie
Allow OPTIONS to retrieve PUT field metadata on empty objects
2013-09-03Added test for OPTIONS before object creation from a PUTEdmond Wong
2013-08-31Regression test for #1072Yuri Prezument
2013-08-30Fix failing empty serializer testTom Christie
2013-08-30Drop broken placeholder serializations.Tom Christie
2013-08-29Make ChoiceField.from_native() follow IntegerField behaviour on empty valuesMathieu Pillard
2013-08-28Tweak MAX_PAGINATE_BY behavior in edge case.Tom Christie
Always respect `paginate_by` settings if client does not specify page size. (Even if the developer has misconfigured, so that `paginate_by > max`.)
2013-08-27Merge branch 'max_paginate_by' of ↵Tom Christie
git://github.com/alexander-akhmetov/django-rest-framework into alexander-akhmetov-max_paginate_by
2013-08-26Added max_paginate_by parameterAlexander Akhmetov
2013-08-23Merge branch 'master' into html-form-rendererTom Christie
2013-08-23Fix failing test for router with no trailing slashTom Christie
2013-08-23Merge branch 'display-nested-data' into html-form-rendererTom Christie
2013-08-23Merge pull request #1034 from KrzysiekJ/patch-create-fallback-removalTom Christie
PATCH requests should not be able to create objects.
2013-08-23Add validation error test when passing non-file to FileFieldTom Christie
2013-08-23Merge branch 'fix_937' of git://github.com/aburgel/django-rest-framework ↵Tom Christie
into aburgel-fix_937
2013-08-23force_authenticate(None) also clears session info.Tom Christie
Closes #1055.