aboutsummaryrefslogtreecommitdiffstats
path: root/docs/library/emitters.rst
diff options
context:
space:
mode:
authortom christie tom@tomchristie.com2011-01-30 11:00:20 +0000
committertom christie tom@tomchristie.com2011-01-30 11:00:20 +0000
commit250ab0f609f32cd3e004e1f2711f9c2e4fd9b57c (patch)
tree915eeda0528dab3159958500c117e9285bc56ef3 /docs/library/emitters.rst
parent40f47a9fb31aebd965dce03ae57c036d5360d124 (diff)
downloaddjango-rest-framework-250ab0f609f32cd3e004e1f2711f9c2e4fd9b57c.tar.bz2
Lots of docs, trying to tidy up examples...
Diffstat (limited to 'docs/library/emitters.rst')
-rw-r--r--docs/library/emitters.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/library/emitters.rst b/docs/library/emitters.rst
new file mode 100644
index 00000000..590ace0f
--- /dev/null
+++ b/docs/library/emitters.rst
@@ -0,0 +1,7 @@
+:mod:`emitters`
+===============
+
+The emitters module provides a set of emitters that can be plugged in to a :class:`.Resource`. An emitter is responsible for taking the output of a and serializing it to a given media type. A :class:`.Resource` can have a number of emitters, allow the same content to be serialized in a number of different formats depending on the requesting client's preferences, as specified in the HTTP Request's Accept header.
+
+.. automodule:: emitters
+ :members: