diff options
Diffstat (limited to 'flatpages')
-rw-r--r-- | flatpages/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/flatpages/views.py b/flatpages/views.py index 11cb457..e9db223 100644 --- a/flatpages/views.py +++ b/flatpages/views.py @@ -84,6 +84,8 @@ def getmimetype(path): if path.endswith(".3d"): return "application/x-survex-3d" if path.endswith(".pos"): return "application/x-survex-pos" if path.endswith(".err"): return "application/x-survex-err" + if path.endswith(".odt"): return "application/vnd.oasis.opendocument.text" + if path.endswith(".ods"): return "application/vnd.oasis.opendocument.spreadsheet" return "" @login_required_if_public |