#18857: collectstatic post-processing does not take into account modified
dependencies
-------------------------------------+--------------------
Reporter: motiejus | Owner: nobody
Type: Bug | Status: new
Component: contrib.staticfiles | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+--------------------
Assume the following:
1. styles.css includes other.css
2. ./manage.py collectstatic
3. modify other.css
4. ./manage.py collectstatic
Expected outcome:
styles.css is changed (and hence a new file is created in STATIC_ROOT) to
reflect new other.css
Actual outcome:
styles.css remains unchanged, and it wrongly includes the old other.css.
Test case is far from perfect, because it changes global state (style.css
and other.css). I tried to copy files I am modifying to a separate
temporary directory, but for some reason it didn't work out. See the
temp_staticfiles_dirs decorator in the patch, might be that only a bit is
missing (clearing cache or something).
--
Ticket URL: <https://code.djangoproject.com/ticket/18857>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.