2015-08-19 22:29:32 +00:00
|
|
|
API Documentation
|
|
|
|
=================
|
2015-11-03 13:10:54 +00:00
|
|
|
.. currentmodule:: sprockets.mixins.mediatype.content
|
2015-08-19 22:29:32 +00:00
|
|
|
|
|
|
|
Content Type Handling
|
|
|
|
---------------------
|
|
|
|
.. autoclass:: ContentMixin
|
|
|
|
:members:
|
|
|
|
|
|
|
|
Content Type Registration
|
|
|
|
-------------------------
|
|
|
|
.. autofunction:: set_default_content_type
|
|
|
|
|
|
|
|
.. autofunction:: add_binary_content_type
|
|
|
|
|
|
|
|
.. autofunction:: add_text_content_type
|
|
|
|
|
2016-01-10 18:51:14 +00:00
|
|
|
.. autofunction:: add_transcoder
|
|
|
|
|
2015-08-19 22:29:32 +00:00
|
|
|
.. autoclass:: ContentSettings
|
2015-06-08 20:28:30 +00:00
|
|
|
:members:
|
2016-01-10 19:46:27 +00:00
|
|
|
|
|
|
|
Bundled Transcoders
|
|
|
|
-------------------
|
|
|
|
.. currentmodule:: sprockets.mixins.mediatype.transcoders
|
|
|
|
|
|
|
|
.. autoclass:: JSONTranscoder
|
|
|
|
:members:
|