I'm looking for a good Django custom storage backend for use with Amazon S3.
I've been googling around and found a lot of blog posts with code snippets or half-baked gist.github.com one-off jobs. But I can't seem to find a solid, well-tested one.
Is there a widely accepted standard Amazon S3 Django custom storage backend out there? It doesn't particularly matter to me what Python backend library it uses--i.e., either S3.py
or boto
are fine.
Building a simple Django Rest API application Execute the commands below to set up the project. Add the code snippet below to urls.py file in the dropboxer project directory. Create serializers.py and urls.py files in the uploader app. In models.py file, we create a simple model that represents a single file.
S3 is capable of storing diverse and generally unstructured data, but it's also suited for hierarchical data and all kinds of structured information.
Have you checked out django-storages? I would lean towards the boto library as I have had good experiences with boto.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With