aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests
AgeCommit message (Collapse)Author
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
2012-12-29Merge pull request #515 from yprez/blank_fields_issueTom Christie
Fix for #514
2012-12-29Nested serializers now support nullable relationships, plus test. Fixes #384Tom Christie
2012-12-29Add tests for nested FKsTom Christie
2012-12-27Use compat import of urlpatternsTom Christie
2012-12-25Regression test for #532 - values overriden by "default" settingYuri Prezument
2012-12-23Merge pull request #523 from maspwr/related-requiredTom Christie
RelatedField should respect self.required
2012-12-21Make nested tests consistent with pk and hyperlink testsTom Christie
2012-12-21Fix up test url model now filename has changedTom Christie
2012-12-21Rename relationship tests so they show up togetherTom Christie