aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests
AgeCommit message (Collapse)Author
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-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
2012-12-07Merge pull request #451 from markotibold/#431Tom Christie
Call model's .full_clean() method, eg. to validate uniqueness
2012-12-06Merge pull request #477 from roberts81/masterTom Christie
Fix for #460
2012-12-06Merge branch 'master' of ↵Marko Tibold
https://github.com/tomchristie/django-rest-framework into #431
2012-12-06Merge pull request #462 from asfaltboy/modelserializer_traverse_relatedTom Christie
ModelSerializer traverse related
2012-12-06cleaned up white space & docstring stylingBen Roberts
2012-12-05cleaned up last commitBen Roberts
2012-12-05added tests and fix for unpickleable metadata in SortedDictWithMetadataBen Roberts
2012-12-02Merge pull request #448 from mhsparks/masterTom Christie
Add setter to user property on request object
2012-11-30fix test responsePavel Savchenko
2012-11-30add traverse_related feature + tests (fixes issue#461)Pavel Savchenko
2012-11-29fix forgotten 400 testPavel Savchenko
2012-11-28also update test with response code 401Pavel Savchenko
2012-11-26Added an assertion to the tests that checks the '.errors' value for the ↵Marko Tibold
unique-test