Changes between Initial Version and Version 1 of Ticket #28055


Ignore:
Timestamp:
Apr 7, 2017, 2:25:59 PM (7 years ago)
Author:
Konrad Lisiczyński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28055 – Description

    initial v1  
    1010when content of substyles.css in changed, the hash of substyles.css will also change, which at the same time will change the content of style.css (updated for example to @import 'substyles.some-hash.css';) and now Django will take into consideration by upgrading hash of style.css as well. This is good, and in previous versions of Django hash of style.css wouldnt be updated.
    1111
    12 However, the problem is, that HashedFilesMixin.postprocess is written in such a way, that adjustable_paths, so with the default implementation - css files - will be always saved 4 times! Below snippet take from django source code explains this:
     12However, the problem is, that HashedFilesMixin.postprocess is written in such a way, that adjustable_paths, so with the default implementation - css files - will be always saved 4 times! Below snippet taken from django source code explains this:
    1313
    1414{{{
Back to Top