Configuring Django to Serve Media Files Via S3: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
How to configure Django web applications to serve media files using AWS S3 buckets.
How to configure Django web applications to serve media files using AWS S3 buckets.


== Workflow ==
[https://www.caktusgroup.com/blog/2014/11/10/Using-Amazon-S3-to-store-your-Django-sites-static-and-media-files/ Using Amazon S3 to Store your Django Site's Static and Media Files]  (Caktus Group) contains all the necessary steps. Followed them all and it just worked.
== Notes ==
== Notes ==


Line 9: Line 12:


* [https://www.caktusgroup.com/blog/2014/11/10/Using-Amazon-S3-to-store-your-Django-sites-static-and-media-files/ Using Amazon S3 to Store your Django Site's Static and Media Files] - Caktus Group, Nov 10, 2014
* [https://www.caktusgroup.com/blog/2014/11/10/Using-Amazon-S3-to-store-your-Django-sites-static-and-media-files/ Using Amazon S3 to Store your Django Site's Static and Media Files] - Caktus Group, Nov 10, 2014
* [https://docs.djangoproject.com/en/1.9/howto/static-files/deployment/#staticfiles-from-cdn Serving Static Files from a Cloud Service or CDN] - Django documentation
* [http://martinbrochhaus.com/s3.html Django-Storages and Amazon S3] - martinbrochhaus.com<br />''Actually, I'm keeping this link for reference, but the very first policy example on the page would not validate. After that I started looking elsewhere.''
* [http://martinbrochhaus.com/s3.html Django-Storages and Amazon S3] - martinbrochhaus.com<br />''Actually, I'm keeping this link for reference, but the very first policy example on the page would not validate. After that I started looking elsewhere.''

Latest revision as of 22:23, 12 February 2016

Overview[edit]

How to configure Django web applications to serve media files using AWS S3 buckets.

Workflow[edit]

Using Amazon S3 to Store your Django Site's Static and Media Files (Caktus Group) contains all the necessary steps. Followed them all and it just worked.

Notes[edit]

See also[edit]