aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests
AgeCommit message (Collapse)Author
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>
2013-01-19Raise assertion errors if @api_view decorator is applied incorrectly. Fixes ↵Tom Christie
#596.
2013-01-19Drop unneeded testTom Christie
2013-01-18Raise Validation Errors when relationships receive incorrect types. Fixes #590.Tom Christie
2013-01-18Revert accidental merge.Tom Christie
2013-01-16Use None to delete nested object as opposed to _delete flagMark Aaron Shirley
2013-01-16Add one-to-one nested update and delete functionalityMark Aaron Shirley
2013-01-16Update errant test commentMark Aaron Shirley
2013-01-16Update one-to-one test namesMark Aaron Shirley
2013-01-16Remove commented out debug codeMark Aaron Shirley
2013-01-16Add nested create for 1to1 reverse relationshipsMark Aaron Shirley
2013-01-16Drop bits of relations_slug tests which don't mirror existing tests.Tom Christie
2013-01-16Merge branch 'master' of ↵Tom Christie
https://github.com/steve-gregory/django-rest-framework into slug-field-fixes
2013-01-15Added a new file 'relations_slug.py' that tests Nullable Foreign Keys and ↵Steven Gregory
the SlugRelatedField
2013-01-15Update docstringsTom Christie
2013-01-12PK fields should only be read-only if they are an AutoField. Fixes #563Tom Christie
2013-01-12auto_now and auto_now_add fields should be read only by defaultTom Christie
2013-01-10unused importsJuan Riaza
2013-01-08Merge remote-tracking branch 'upstream/master' into null-one-to-oneMark Aaron Shirley
2013-01-07Create separate *NullableOneToOneTests TestCaseMark Aaron Shirley
2013-01-07Clean up test slightly. Refs #552Tom Christie
2013-01-07Be more informative when reporting import errors.Marc Tamlyn
2013-01-05deprecate simplejsonJuan Riaza
2013-01-04Handle ObjectDoesNotExist exceptions when serializing null reverse one-to-oneMark Aaron Shirley
2013-01-04Validation errors instead of exceptions when serializers receive incorrect ↵Tom Christie
types. Fixes #402.
2013-01-04Add proper validation for updating relational fields with incorrect types. ↵Tom Christie
Fixes #446.
2013-01-04Rename module for basic relational field testsTom Christie
2013-01-03Fix for #446. Note: Also needs applying to other relational types.Tom Christie
2013-01-03Merge pull request #541 from yprez/default_and_partial_serializers2Tom Christie
Fix "default" values and partial serializers. Fixes #532.
2013-01-03Move relation tests models into models.pyMark Aaron Shirley
2013-01-03Some cleanupYuri Prezument
2013-01-02Regression test for #542Yuri Prezument
2013-01-02Merge branch 'patch-support' of ↵Tom Christie
https://github.com/ahankinson/django-rest-framework into patch
2013-01-01Update HyperlinkedForeignKeyTests to match PKForeignKeyTestsMark Aaron Shirley
2012-12-31Don't persist relation changes in ModelSerializer#restore_object()Mark Aaron Shirley
2012-12-30Merge branch 'master' of git://github.com/tomchristie/django-rest-framework ↵Andrew Hankinson
into patch-support
2012-12-30Renaming DRFRequestFactory to RequestFactoryAndrew Hankinson
Updated tests to reflect the new name.
2012-12-29Add reverse FK update testsTom Christie
2012-12-29Add test for hyperlinked reverse FK create. Refs #511Tom Christie
2012-12-29Add TODOTom Christie
2012-12-29Added hyperlinked FK create testTom Christie
2012-12-29Support reverse FK creationTom Christie
2012-12-29Add FK create testsTom Christie
2012-12-29Tests for retrieving nullable relationsTom Christie