aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests
AgeCommit message (Collapse)Author
2012-11-06Support for HTML error templates. Fixes #319.Tom Christie
2012-11-05TweaksTom Christie
2012-11-05Merge pull request #347 from minddust/masterTom Christie
support for passing custom slug options to HyperlinkedRelatedField
2012-11-05fixed typoStephan Groß
2012-11-05added testcase for custom slug field in hyperlinkedrelatedfieldStephan Groß
2012-11-05`queryset` argument is now optional on writable model fields.Tom Christie
2012-11-05Swap position of `instance` and `data` keyword arguments.Tom Christie
2012-11-04Remove `request' from response instance whileJacob Magnusson
testing caching
2012-11-04Add tests for caching of GET/HEAD requests usingJacob Magnusson
Django's built in caching framework. Currently fails as some attributes on the Response object are not pickable
2012-11-03Added test for ModelSerializer Meta fieldsJacob Magnusson
returning as expected
2012-11-03Added test that makes sure that fields withJacob Magnusson
dictionaries as data are returned as expected and not turned into string representations
2012-11-03Bye bye star importJacob Magnusson
2012-11-02TweaksTom Christie
2012-11-02foreign key testsTom Christie
2012-11-02Initial PK relationship testsTom Christie
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