Daily Shaarli

All links of one day in a single page.

February 5, 2008

Django: Apache, Lighttpd, nginx? What about S3? | Coders' Hangout

It occurred to me while I was researching serving static files from Apache, Lighttpd or nginx that why do I even bother?
I'm a strong fan of Amazon's web services. Especially their Simple Storage Solution (S3).

So, I messed around with my DNS settings at the wonderful SliceHost (http://slicehost.com) and found some info online about mapping a CNAME record to my S3 bucket and then BAM! Instant static media hosting!

I had to make one small change to my settings.py file. I changed the ADMIN_MEDIA_PREFIX to ADMIN_MEDIA_PREFIX = 'http://media.bitcircle.com/'

read more

Django snippets: MultiFileWidget
Roberto De Almeida : /jsonstore_i.html