aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests
AgeCommit message (Collapse)Author
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-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
2012-10-04Make Import patterns 1.3 compatibleTom Christie
2012-10-04HyperlinkedModelSerializer with working HyperlinkedIdentityField, but no ↵Tom Christie
hyperlinked relations
2012-10-04Tests for default arguments on fieldsTom Christie
2012-10-04Abstract out the app_label on test modelsTom Christie
2012-10-04Abstract out the app_label on test modelsTom Christie
2012-10-03Use either PrimaryKeyRelatedField or ManyPrimaryKeyRelatedField as ↵Tom Christie
appropriate (fixes test)
2012-10-03Added failing test for m2m dataTom Christie
2012-10-03Add m2m update testTom Christie
2012-10-03Add Serializer.save() to clean up differences between serializer.object ↵Tom Christie
being either a DeserializedObject or a model instance
2012-10-03Many2Many testTom Christie
2012-10-03Rename generic viewsTom Christie
2012-10-02Added model form field -> serializer form field mappingTom Christie
2012-10-02Add test to ensure that pk is readonly in PUT requestsTom Christie