Monday, August 08, 2011

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 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.

No comments:

Post a Comment