#14
Merged
Fixed S3BotoStorage performance problem calling an expensive function to populate a default value
- 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.
Pulled. Thanks.