Opened 7 years ago

Last modified 7 years ago

#20712 assigned New feature

staticfiles and serving post-processed files through development server

Reported by: Mitar Owned by: Jannis Leidel
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


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.

Change History (3)

comment:1 Changed 7 years ago by Daniele Procida

Can you confirm that this is still the case in 1.5?

comment:2 Changed 7 years ago by Daniele Procida

Cc: daniele@… added

comment:3 Changed 7 years ago by Jannis Leidel

Owner: changed from nobody to Jannis Leidel
Status: newassigned
Triage Stage: UnreviewedAccepted

Accepting and assigning to me since I'm working on a generic solution for this problem anyways..

Note: See TracTickets for help on using tickets.
Back to Top