Opened 12 years ago
Last modified 3 years ago
#20712 new New feature
staticfiles and serving post-processed files through development server
Reported by: | Mitar | Owned by: | |
---|---|---|---|
Component: | contrib.staticfiles | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | mmitar@…, daniele@… | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Pull Requests: | How to create a pull request | ||
Description ¶
staticfiles app allows custom storage. I have implemented a storage which automatically compiles .scss files into .css files. The issue that such post-processed files are not served when using staticfiles development server. I have to override runserver
with core one to be able to serve the files I collect manually.
I think it would be useful to support such use cases as it would open window for further integration of static files (like bundling JavaScript into one and so on). While some are useful just for production, some are necessary while development as well.
According to the ticket's flags, the next step(s) to move this issue forward are:
- To provide a patch by sending a pull request. Claim the ticket when you start working so that someone else doesn't duplicate effort. Before sending a pull request, review your work against the patch review checklist. Check the "Has patch" flag on the ticket after sending a pull request and include a link to the pull request in the ticket comment when making that update. The usual format is:
[https://github.com/django/django/pull/#### PR]
.
Change History (4)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Cc: | added |
---|
comment:3 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
Accepting and assigning to me since I'm working on a generic solution for this problem anyways..
comment:4 by , 3 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
Can you confirm that this is still the case in 1.5?