Overview
Learn how to implement object storage with Django using Digital Ocean Spaces S3 in this comprehensive tutorial video. Create a Digital Ocean Space, generate an API key, and configure a production Django website to utilize Digital Ocean Spaces for static file storage. Explore Amazon Web Services (AWS) configuration for the Digital Ocean Space and verify that your Django website is successfully serving static files from the cloud storage. Address common issues like the "attempt to write to readonly database" error and enhance security by decoupling the Django settings file using the Python-decouple library. Follow along with step-by-step instructions, including creating spaces, configuring API keys, and implementing best practices for Django project setup with cloud storage solutions.
Syllabus
Intro 0:00 -
Creating a DigitalOcean Space and API Key 1:34 -
Configuring your Django project with Spaces 5:47 -
Solving "attempt to write to readonly database" error 16:02 -
Testing the Server and Digital Ocean Spaces 17:58 -
Decoupling Settings for Security Python-Decouple - end
Taught by
CodingWithMitch