diff options
| author | José Padilla | 2014-11-29 14:43:05 -0400 |
|---|---|---|
| committer | José Padilla | 2014-11-29 14:43:05 -0400 |
| commit | 731c8421afe3093a78cdabb9c3cc28fa52cd1c8e (patch) | |
| tree | bcbcfcfb32d0ab0e59605a5564cf320913767d6d /docs/api-guide/testing.md | |
| parent | 3a5b3772fefc3c2f2c0899947cbc07bfe6e6b5d2 (diff) | |
| download | django-rest-framework-731c8421afe3093a78cdabb9c3cc28fa52cd1c8e.tar.bz2 | |
Remove YAML support from core
Diffstat (limited to 'docs/api-guide/testing.md')
| -rw-r--r-- | docs/api-guide/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/testing.md b/docs/api-guide/testing.md index d059fdab..cd8c7820 100644 --- a/docs/api-guide/testing.md +++ b/docs/api-guide/testing.md @@ -255,14 +255,14 @@ The default format used to make test requests may be set using the `TEST_REQUEST If you need to test requests using something other than multipart or json requests, you can do so by setting the `TEST_REQUEST_RENDERER_CLASSES` setting. -For example, to add support for using `format='yaml'` in test requests, you might have something like this in your `settings.py` file. +For example, to add support for using `format='html'` in test requests, you might have something like this in your `settings.py` file. REST_FRAMEWORK = { ... 'TEST_REQUEST_RENDERER_CLASSES': ( 'rest_framework.renderers.MultiPartRenderer', 'rest_framework.renderers.JSONRenderer', - 'rest_framework.renderers.YAMLRenderer' + 'rest_framework.renderers.TemplateHTMLRenderer' ) } |
