Pull requests

#14 Merged
Repository
yuchant yuchant
Branch
default
Repository
david david
Branch
default

Fixed S3BotoStorage performance problem calling an expensive function to populate a default value

Author
  1. yuchant
Reviewers
Description

Just needed to wrap the default value function in an if block to make sure that it's only called when get fails, and not every time get is called.

Changes django's collectstatic command taking from over 100s / 1000 files to less than a second if no files have been modified.

Comments (1)