2

I checked out the following question: Django StaticFiles and Amazon S3: How to detect modified files? and others but i'm still not able to run collectstatic on only modified files.

Besides not picking up on modifications, it syncs properly.

I added: AWS_PRELOAD_METADATA = True and ran collectstatic completely with this setting turned on.

Community
  • 1
  • 1
c4urself
  • 4,207
  • 21
  • 32

1 Answers1

7

It turns out I was missing python-dateutil, which somehow didn't make into django-storages as a dependency. Make sure you have version 1.1.5 of python-dateutil installed or you will get the following error:

iter() returned non-iterator of type ‘_timelex’

See also my blogpost about this problem and the django - s3bot setup in general here.

c4urself
  • 4,207
  • 21
  • 32