Web Fonts Always Return 404 From Static Path
I'm having trouble with a static view, it is configured to serve files from the 'assets' folder on the server, and works fine for the following '/assets/img/hdr.png','/assets/style
Solution 1:
The path
argument should be an asset specification. This means you should prefix the path
with the name of your package mypkg:assets
.
Solution 2:
Not sure if it's still relevant to the OP, but I hit the same problem.
The reason was that setup.py install
simply didn't copy the font files, and the solution was to include all the font extensions in the MANIFEST.in
file.
Post a Comment for "Web Fonts Always Return 404 From Static Path"