aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests
AgeCommit message (Collapse)Author
2012-10-31PUT as create should return 201. Fixes #340.Tom Christie
2012-10-30Merge fixes for 'blank=True' fields. Fixes #324, Fixes #325Tom Christie
Thanks to @Roarster.
2012-10-30Allow use of absolute URLs when deserializing hyperlinked fieldsTom Christie
2012-10-30Hyperlinked serializer testsTom Christie
2012-10-30Adding failing tests that show null=True model fields are won't validate if ↵Marko Tibold
their value is omitted.
2012-10-29Fix slug based put as create testTom Christie
2012-10-29PUT as create should return 200Tom Christie
2012-10-29Merge pull request #331 from markotibold/test_put_as_createTom Christie
Test put as create
2012-10-28readonly -> read_onlyTom Christie
2012-10-28Get the correct instanceMarko Tibold
2012-10-28test_put_as_create_on_id_based_url should check for a created-response.Marko Tibold
2012-10-28Merge pull request #330 from tomchristie/tutorial-refactorTom Christie
Tutorial refactor
2012-10-28Added wo tests. One for PUTing on a non-existing id-based url. And another ↵Marko Tibold
for PUTing on a non-existing slug-based url. Fix doctoring for 'test_put_cannot_set_id'.
2012-10-28TemplateHTMLRenderer, StaticHTMLRendererTom Christie
2012-10-27Push tests into a seperate app namespace 'rest_framework.test'Tom Christie
Prevents tests from running by default when rest_framework is installed as 3rd party app. Fixes #316, #185
2012-10-26Fix failing 'default' on ModelSerializerTom Christie
2012-10-24Add cross-field validate methodJamie Matthews
2012-10-24Switch from clean_<fieldname> to validate_<fieldname>, clarify documentationJamie Matthews
2012-10-24Implement per-field validation on SerializersJamie Matthews
2012-10-22#314 Fix for manytomany field being required in the payload even though the ↵Ian Strachan
field is specified as readonly in the serializer
2012-10-22Fix serialization of reverse relationshipsJamie Matthews
2012-10-18Added tests for dotted notation in serializer field sourceIan Strachan
2012-10-17Negotiation API finalized. .select_renderers and .select_parsersTom Christie
2012-10-17Added `media_type` to `.parse()` - Consistency with renderer API.Tom Christie
2012-10-17Drop .parse_string_or_stream() - keep API minimal.Tom Christie
2012-10-17Make default field check safe for boolean values whereby 'False' may be an ↵Rob Dobson
acceptable default value
2012-10-15Merge pull request #296 from ulmus/restframework2Tom Christie
Removed serializers.TextField and related tests
2012-10-15Tweak parsers to take parser_contextTom Christie
2012-10-15Removed serializer.TextField and related testsJens Alm
2012-10-15Added tests for TextFieldJens Alm
2012-10-14Documentation for parsersTom Christie
2012-10-11Sanitise JSON error messagesTom Christie
2012-10-10Make sure JSON output in Browseable API is nicely indentedTom Christie
2012-10-10Permissions and throttles no longer have a view attribute on self. ↵Tom Christie
Explicitly passed to .has_permissions(request, view, obj=None) / .allow_request(request, view)
2012-10-09Rename HTMLTemplateRenderer -> HTMLRenderer, DocuemntingHTMLRenderer -> ↵Tom Christie
BrowseableAPIRenderer
2012-10-09Remove Field handling relations/relationship managers - use ↵Tom Christie
RelatedField/ManyRelatedField instead
2012-10-09Tweak authtokenTom Christie
2012-10-08Fix issue where required fields were not being properly validated. Also ↵Tom Christie
make model fields with a default value be not required
2012-10-08Fix fiddly content-overloading bugTom Christie
2012-10-08Fix #285Tom Christie
2012-10-05Remove unused test fileTom Christie
2012-10-05Support PUT for createTom Christie
2012-10-05Add test for non-GET methods to api_view decoratorTom Christie
2012-10-05Remove Parser.can_handle_request()Tom Christie
2012-10-05Docs for template responsesTom Christie
2012-10-05HTMLTemplateRenderer workingTom Christie
2012-10-05User .accepted_renderer, .accepted_media_typeTom Christie
2012-10-05Accepted media type uses most specific of client/renderer media types.Tom Christie
2012-10-04Fix for field to make it easier to access field relationshipsTom Christie
2012-10-04Initial tests for hyperlinked relationshipsTom Christie