Resource interpreted as Font but transferred with MIME type font/woff: | Django Framework -


i know in apache 1 adds

rewriteengine on rewriterule !(\.ico\.gif|\.png|\.jpe?g|\.css|\.js|\.php|\.eot|\.svg|\.ttf|\.woff|\.otf|^public/.*)$ index.php [nocase,last] 

but how django, these rules

so, serving static files in django dev server?

in settings.py think need:

if debug:     import mimetypes     mimetypes.add_type("application/font-woff", ".woff", true) 

...from info given in these questions on so:

resource interpreted font transferred mime type application/x-font-woff
django development server , mime types


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -