New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collectstatic can't find glyphicons when using ManifestStaticFilesStorage #2008
Comments
The text or filename 'glyphicons-halflings-regular.eot' is not referenced anywhere inside REST framework. At the moment I'm going to assume that was a temporary issue while the bootstrap 3 integration was midway through, but feel free to reopen this issue if still replicating for you, along with any description of what you think is required to rectify the issue. |
The following is in
The solution is to include the Alternately, use a version of bootstrap that discludes the font-based version of Glyphicons. This can be generated pretty easily at http://getbootstrap.com/customize/. Thanks for the amazing framework BTW. I'm really excited for 3.0. |
Not sure which of those those options we ought to be going for. Assuming we're not actually using the glyphicons at the moment or assume we'd have seen that they're broken. Might be best to simply include them tho, on the basis of easier reuse, theming etc. |
Closed by #2024. |
With the latest 3.0 (https://github.com/tomchristie/django-rest-framework/archive/version-3.0.zip), I got the following when I collectstatic:
Django 1.7 comes with
ManifestStaticFilesStorage
, a staticfiles storage backend that puts a hash of the file in the filename when you run collectstatic. As part of this process, it introspects CSS files no modify any external files references. For that reason, every@import
needs to be a files Django's collectstatic can access. I believe that is the problem here.The text was updated successfully, but these errors were encountered: