From 1611144f72d273a23558feacd6a7035811a6ef85 Mon Sep 17 00:00:00 2001 From: rra Date: Wed, 4 Sep 2019 16:11:02 +0200 Subject: [PATCH] move mimetype mappings to separate file --- distribusi/mappings.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 distribusi/mappings.py diff --git a/distribusi/mappings.py b/distribusi/mappings.py new file mode 100644 index 0000000..db47c3e --- /dev/null +++ b/distribusi/mappings.py @@ -0,0 +1,13 @@ +CODE_TYPES = ['x-c', 'html'] + +FILE_TYPES = { + 'image': '
{}
', + 'pdf': ( + '' + '' + ), + 'text': '{}', + 'video': (''), + 'audio': (''), +} +