[Django] #20712: staticfiles and serving post-processed files through development server

12 views
Skip to first unread message

Django

unread,
Jul 7, 2013, 12:46:45 AM7/7/13
to django-...@googlegroups.com
#20712: staticfiles and serving post-processed files through development server
-------------------------------------+--------------------
Reporter: mitar | Owner: nobody
Type: New feature | Status: new
Component: contrib.staticfiles | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+--------------------
[https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/
staticfiles app] allows custom storage. I have implemented a storage which
[https://github.com/wlanslovenija/nodewatcher/blob/98525b82e410989c033301f755b1e180b7947662/nodewatcher/core/frontend/staticfiles/storage.py
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/20712>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 13, 2013, 5:47:13 PM9/13/13
to django-...@googlegroups.com
#20712: staticfiles and serving post-processed files through development server
-------------------------------------+-------------------------------------

Reporter: mitar | Owner: nobody
Type: New feature | Status: new
Component: contrib.staticfiles | Version: 1.4
Severity: Normal | Resolution:
Keywords: | Triage Stage:
Has patch: 0 | Unreviewed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by EvilDMP):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

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

--
Ticket URL: <https://code.djangoproject.com/ticket/20712#comment:1>

Django

unread,
Sep 14, 2013, 6:33:11 PM9/14/13
to django-...@googlegroups.com
#20712: staticfiles and serving post-processed files through development server
-------------------------------------+-------------------------------------

Reporter: mitar | Owner: nobody
Type: New feature | Status: new
Component: contrib.staticfiles | Version: 1.4
Severity: Normal | Resolution:
Keywords: | Triage Stage:
Has patch: 0 | Unreviewed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by EvilDMP):

* cc: daniele@… (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/20712#comment:2>

Django

unread,
Sep 16, 2013, 10:48:56 AM9/16/13
to django-...@googlegroups.com
#20712: staticfiles and serving post-processed files through development server
-------------------------------------+------------------------------------
Reporter: mitar | Owner: jezdez
Type: New feature | Status: assigned
Component: contrib.staticfiles | Version: 1.4
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Changes (by jezdez):

* owner: nobody => jezdez
* status: new => assigned
* stage: Unreviewed => Accepted


Comment:

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

--
Ticket URL: <https://code.djangoproject.com/ticket/20712#comment:3>

Django

unread,
Oct 7, 2021, 4:42:55 AM10/7/21
to django-...@googlegroups.com
#20712: staticfiles and serving post-processed files through development server
-------------------------------------+------------------------------------
Reporter: Mitar | Owner: (none)

Type: New feature | Status: new
Component: contrib.staticfiles | Version: 1.4
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

* owner: Jannis Leidel => (none)
* status: assigned => new


--
Ticket URL: <https://code.djangoproject.com/ticket/20712#comment:4>

Reply all
Reply to author
Forward
0 new messages