1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

handle mime svg in devel

This commit is contained in:
Chris Meyers 2016-09-01 12:53:26 -04:00
parent f20185c113
commit ac2f0bdf57

View File

@ -7,6 +7,12 @@
import sys
import traceback
# Centos-7 doesn't include the svg mime type
# /usr/lib64/python/mimetypes.py
import mimetypes
mimetypes.add_type("image/svg+xml", ".svg", True)
mimetypes.add_type("image/svg+xml", ".svgz", True)
# Django Split Settings
from split_settings.tools import optional, include