diff options
| author | Tom Christie | 2011-04-28 19:54:30 +0100 | 
|---|---|---|
| committer | Tom Christie | 2011-04-28 19:54:30 +0100 | 
| commit | 93aa065fa92f64472a3ee80564020a81776be742 (patch) | |
| tree | d1bfa96d3027545006b7a0f542a32f53a946153b /examples/sandbox/views.py | |
| parent | ad552107ff9b6f844982bd3c562d69f890febf1f (diff) | |
| download | django-rest-framework-93aa065fa92f64472a3ee80564020a81776be742.tar.bz2 | |
emitters -> renderers
Diffstat (limited to 'examples/sandbox/views.py')
| -rw-r--r-- | examples/sandbox/views.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/sandbox/views.py b/examples/sandbox/views.py index 5b84e8e4..04e4da41 100644 --- a/examples/sandbox/views.py +++ b/examples/sandbox/views.py @@ -11,14 +11,14 @@ class Sandbox(Resource):      All the example APIs allow anonymous access, and can be navigated either through the browser or from the command line... -        bash: curl -X GET http://api.django-rest-framework.org/                           # (Use default emitter) -        bash: curl -X GET http://api.django-rest-framework.org/ -H 'Accept: text/plain'   # (Use plaintext documentation emitter) +        bash: curl -X GET http://api.django-rest-framework.org/                           # (Use default renderer) +        bash: curl -X GET http://api.django-rest-framework.org/ -H 'Accept: text/plain'   # (Use plaintext documentation renderer)      The examples provided:       1. A basic example using the [Resource](http://django-rest-framework.org/library/resource.html) class.      2. A basic example using the [ModelResource](http://django-rest-framework.org/library/modelresource.html) class. -    3. An basic example using Django 1.3's [class based views](http://docs.djangoproject.com/en/dev/topics/class-based-views/) and djangorestframework's [EmitterMixin](http://django-rest-framework.org/library/emitters.html). +    3. An basic example using Django 1.3's [class based views](http://docs.djangoproject.com/en/dev/topics/class-based-views/) and djangorestframework's [RendererMixin](http://django-rest-framework.org/library/renderers.html).      4. A generic object store API.      5. A code highlighting API.      6. A blog posts and comments API.  | 
