Opened 20 months ago

Last modified 18 months ago

#20712 assigned New feature

staticfiles and serving post-processed files through development server

Reported by: mitar Owned by: jezdez
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

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.

Change History (3)

comment:1 Changed 18 months ago by EvilDMP

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

comment:2 Changed 18 months ago by EvilDMP

  • Cc daniele@… added

comment:3 Changed 18 months ago by jezdez

  • Owner changed from nobody to jezdez
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

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