Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
fix warning output and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
smcoll authored and antonagestam committed Dec 8, 2017
1 parent 71189c7 commit aca5ba8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ to your ``INSTALLED_APPS``:
Please note, that failure to do so will cause Django to use
``django.contrib.staticfiles``'s ``collectstatic``.

**Note:** ``preload_metadata`` of the storage class will be overwritten
even if ``AWS_PRELOAD_METADATA`` is not set to True see
`#30 <https://github.com/antonagestam/collectfast/issues/30>`_
**Note:** ``preload_metadata`` of the storage class will be overwritten as
`True`, see `#30 <https://github.com/antonagestam/collectfast/issues/30>`_


Usage
Expand Down
2 changes: 1 addition & 1 deletion collectfast/management/commands/collectstatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self, *args, **kwargs):
self.storage.preload_metadata = True
warnings.warn(
"Collectfast does not work properly without "
"`preload_metadata` set to `True` on the storage class. Try"
"`preload_metadata` set to `True` on the storage class. Try "
"setting `AWS_PRELOAD_METADATA` to `True`. Overriding "
"`storage.preload_metadata` and continuing.")

Expand Down

0 comments on commit aca5ba8

Please sign in to comment.