mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 11:41:08 -03:30
handle mime svg in devel
This commit is contained in:
@@ -7,6 +7,12 @@
|
|||||||
import sys
|
import sys
|
||||||
import traceback
|
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
|
# Django Split Settings
|
||||||
from split_settings.tools import optional, include
|
from split_settings.tools import optional, include
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user