Tech & Engineering

S3 storage for Django

Hi there! Am blogging after a few months now. I have settled in the MobStac team as an all hands engineer. I have shifted to Bangalore with 2 friends from Kolka...

Sumit Datta··1 min read

Hi there!

Am blogging after a few months now. I have settled in the MobStac team as an all hands engineer. I have shifted to Bangalore with 2 friends from Kolkata.

Anyway, at MobStac we needed an S3 storage backend for our Django app (Django runs our publisher platform, and mobile site serving platform). I figured out there is nice way to write a custom storage backend. But then a bit searching and I came across django-storages by David. It supports for backend than we needed, so I just took out the s3boto code and it was easy as cake.

So now all media uploaded goes to S3, and honestly integrating this in Django was smooth as silk.

Tags
Share
Written by
Sumit Datta

Software engineer and entrepreneur, 16+ years at fast-paced startups across the US, Canada, Germany and India.

Comments

Hook this up to your favourite commenting platform — Giscus, Disqus, or your own.

Continue reading

Tech & Engineering·

Frontend Driven Development

I have primarily been a backend web developer, started out with PHP around 2005 and then moving to Python in 2011. I have worked with a lot of JavaScript, mostl...

Sumit Datta · 5 min

A quieter inbox.

One thoughtful letter every other Sunday — new essays, things worth reading, and the occasional photograph.

Free. Unsubscribe in one click.