Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Django 压缩器在开发模式下用丑陋的哈希重命名我漂亮的文件名,我不想压缩它,只处理 scss 到 css。如何配置 django 压缩器在处理 sass 文件后不重命名它们,而项目以 DEBUG = True 运行?
在开发模式下禁用它。在生产中,您不需要关心。
(但是,在部署之前,在打开压缩的情况下测试 dev 可能是谨慎的做法。)