def add_mimetypes():
 import mimetypes
 mimetypes.add_type('application/vnd.ms-fontobject', '.eot')
 mimetypes.add_type('application/x-font-opentype', '.otf')
 mimetypes.add_type('application/x-font-ttf', '.ttf')
 mimetypes.add_type('application/font-woff', '.woff')

def add_mimetypes ( ) : import mimetypes mimetypes . add_type ( 'application/vnd.ms-fontobject' , '.eot' ) mimetypes . add_type ( 'application/x-font-opentype' , '.otf' ) mimetypes . add_type ( 'application/x-font-ttf' , '.ttf' ) mimetypes . add_type ( 'application/font-woff' , '.woff' )
add extra mimetypes .