mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 03:00:04 -03:30
handle mime svg in devel
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user