API¶
Newsroom app object¶
Base formatter class¶
-
class
newsroom.formatter.
BaseFormatter
¶ Base formatter class.
Extend it to implement custom formatter.
-
FILE_EXTENSION
= None¶ File extension to use for downloaded file.
-
MEDIATYPE
= None¶ Tyoe of the output content [‘text’, ‘picture’]
-
MIMETYPE
= None¶ Response mime type when downloading single file (eg.
text/plain
).
-