aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests
AgeCommit message (Collapse)Author
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-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
2012-12-21Merge pull request #522 from maspwr/writable-serializersTom Christie
Writable Serializers - READ tests
2012-12-20Added setter to the auth propertyMark Hughes
2012-12-19Merge remote-tracking branch 'upstream/master' into related-requiredMark Aaron Shirley
2012-12-19Merge remote-tracking branch 'upstream/master' into writable-serializersMark Aaron Shirley
2012-12-19urls, patterns, include imports move to compat to support incoming 1.3 thru ↵Tom Christie
1.6 import compatability
2012-12-19Merge pull request #510 from joual/masterTom Christie
Fixes #509
2012-12-19Merge remote-tracking branch 'upstream/master' into writable-serializersMark Aaron Shirley
2012-12-19pep8Tom Christie
2012-12-19Failing test with partial serializer and foreign keysYuri Prezument
2012-12-19remove all but the 'read' nested serializer testsMark Aaron Shirley
2012-12-19Fix assertion for nested create test (missing id)Trey Hunner
2012-12-19Add two functions for more DRY reverse fk testsTrey Hunner
2012-12-19Add test for deleting a reverse fk relationTrey Hunner
2012-12-19Add test for creating a reverse fk relationTrey Hunner
2012-12-19Add tests for retrieving/updating reverse fksTrey Hunner
2012-12-18HyperlinkedRealtedField tests. Refs #442.Tom Christie
2012-12-18Fix for pks returning as strings when set in pre_save. Fixes #482. Thanks ↵Tom Christie
to @n8agrin for the bug report.
2012-12-17Fix bug with M2M in browseable APITom Christie
2012-12-17Failing test case for #514Yuri Prezument
Serializer errors are: {'title': [u'This field is required.']}
2012-12-17CharField in model should be null=True according Django docsYuri Prezument
All tests should still pass Ref #514
2012-12-15ManyPrimaryKeyRelatedField now supports create for one-to-many reltoran billups
2012-12-15Added test for "positive_integer in choices tuple does not get parsed if not ↵Joel Marcotte
string". Signed-off-by: Joel Marcotte <skaner@gmail.com>
2012-12-15Fix model validation exclusions. Fixes #500. Fixes #506.Tom Christie
2012-12-14Merge branch 'master' of https://github.com/sunscrapers/django-rest-frameworkTom Christie
2012-12-14Ensure context is passed to dynamically added fields. Fixes #476.Tom Christie
2012-12-14Test to verify that context is passed onSimon Pantzare
The paginator and its object serializer should share the same context.
2012-12-13context to custom field in paginationSzymon Teżewski
2012-12-12Clean up field initialization. Fixes #497Tom Christie
2012-12-11Fix broken nested fieldsTom Christie
2012-12-11Added depth testGeorge Kappel
2012-12-10get_excluded_fieldnames() should respect Meta options' ability to be either ↵Marko Tibold
a tuple or list. Fixes #490. Refactored `if self.opt.fields` out of the for loop. Updated and cleaned up the validation-tests.
2012-12-08More tests for nullable FKsTom Christie
2012-12-08Add test for m2m createTom Christie
2012-12-07Reverted #458Tom Christie
When incorrect parameters are supplied to the obtain auth token view 400 *is* the correct response.
2012-12-07Support nullable FKs, with blank=TrueTom Christie