aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pygments_api/views.py
diff options
context:
space:
mode:
authorTom Christie2011-05-02 19:49:12 +0100
committerTom Christie2011-05-02 19:49:12 +0100
commit8756664e064a18afc4713d921c318cd968f18433 (patch)
tree8eb4499900552963f88972d0853e68d05159295f /examples/pygments_api/views.py
parentb358fbdbe9cbd4ce644c4b2c7b9b4cec0811e14e (diff)
downloaddjango-rest-framework-8756664e064a18afc4713d921c318cd968f18433.tar.bz2
emitters -> renderers
Diffstat (limited to 'examples/pygments_api/views.py')
-rw-r--r--examples/pygments_api/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pygments_api/views.py b/examples/pygments_api/views.py
index 278e8250..253b0907 100644
--- a/examples/pygments_api/views.py
+++ b/examples/pygments_api/views.py
@@ -68,7 +68,7 @@ class PygmentsRoot(Resource):
class PygmentsInstance(Resource):
"""Simply return the stored highlighted HTML file with the correct mime type.
- This Resource only emits HTML and uses a standard HTML renderer rather than the renderers.DocumentingHTMLRenderer class."""
+ This Resource only renders HTML and uses a standard HTML renderer rather than the renderers.DocumentingHTMLRenderer class."""
renderers = (HTMLRenderer,)
def get(self, request, unique_id):