From b8f0b85d58fbe62b365d9451c3287dca06af6b76 Mon Sep 17 00:00:00 2001 From: Camilo Nova Date: Wed, 18 May 2016 11:35:44 -0500 Subject: [PATCH] Remote storages docs: Make it clear how it should look when finished --- docs/remote-storages.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/remote-storages.txt b/docs/remote-storages.txt index 0b483a6..1b44327 100644 --- a/docs/remote-storages.txt +++ b/docs/remote-storages.txt @@ -79,6 +79,14 @@ apps can be integrated. :attr:`~django.conf.settings.COMPRESS_URL` (e.g. ``"http://compressor-test.s3.amazonaws.com/"``). +At the end it should look like this:: + + STATICFILES_STORAGE = 'path.to.CachedS3BotoStorage' + COMPRESS_STORAGE = STATICFILES_STORAGE + COMPRESS_URL = 'https://{0}.s3.amazonaws.com/'.format(AWS_STORAGE_BUCKET_NAME) + STATIC_URL = COMPRESS_URL + + .. _CDN: http://en.wikipedia.org/wiki/Content_delivery_network .. _Amazon S3: https://s3.amazonaws.com/ .. _boto: http://boto.cloudhackers.com/