aboutsummaryrefslogtreecommitdiffstats
path: root/docs/howto/mixin.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/howto/mixin.rst')
-rw-r--r--docs/howto/mixin.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/howto/mixin.rst b/docs/howto/mixin.rst
index d8b1c4f0..1a84f2ad 100644
--- a/docs/howto/mixin.rst
+++ b/docs/howto/mixin.rst
@@ -1,8 +1,7 @@
Using Django REST framework Mixin classes
=========================================
-This example demonstrates creating a REST API **without** using Django REST framework's :class:`.Resource` or :class:`.ModelResource`,
-but instead using Django :class:`View` class, and adding the :class:`EmitterMixin` class to provide full HTTP Accept header content negotiation,
+This example demonstrates creating a REST API **without** using Django REST framework's :class:`.Resource` or :class:`.ModelResource`, but instead using Django's :class:`View` class, and adding the :class:`ResponseMixin` class to provide full HTTP Accept header content negotiation,
a browseable Web API, and much of the other goodness that Django REST framework gives you for free.
.. note::
@@ -26,5 +25,6 @@ Everything we need for this example can go straight into the URL conf...
.. include:: ../../examples/mixin/urls.py
:literal:
-That's it. Auto-magically our API now supports multiple output formats, specified either by using standard HTTP Accept header content negotiation, or by using the `&_accept=application/json` style parameter overrides.
+That's it. Auto-magically our API now supports multiple output formats, specified either by using
+standard HTTP Accept header content negotiation, or by using the `&_accept=application/json` style parameter overrides.
We even get a nice HTML view which can be used to self-document our API.