Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think I solved this problem. Like you, I have spent so many hours on this problem. I am also on the bug report you found on bitbucket. Here is what I just accomplished.</p> <p>I had</p> <pre><code>django-storages==1.1.8 Collectfast==0.1.11 </code></pre> <p>This does not work at all. Delete everything for once does not work either. After that, it cannot pick up modifications and refuse to update anything.</p> <p>The problem is with our time zone. S3 will say the files it has is last modified later than the ones we want to upload. django collectstatic will not try to copy the new ones over at all. And it will call the files "unmodified". For example, here is what I see before my fix:</p> <pre><code>Collected static files in 0:00:45.292022. Skipped 407 already synced files. 0 static files copied, 1 unmodified. </code></pre> <p>My solution is "To the hell with modified time!". Besides the time zone problems that we are solving here, what if I made a mistake and need to roll back? It will refuse to deploy the old static files and leave my website broken.</p> <p>Here is my pull request to Collectfast <a href="https://github.com/FundedByMe/collectfast/pull/11" rel="noreferrer">https://github.com/FundedByMe/collectfast/pull/11</a> . I still left a flag so if you really want to check modified time, you can still do it. Before it got merged, just use my code at <a href="https://github.com/sunshineo/collectfast" rel="noreferrer">https://github.com/sunshineo/collectfast</a></p> <p>You have a nice day!</p> <p>--Gordon PS: Stayed up till 4:40am for this. My day is ruined for sure.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload