I’m new to Django and to web development in general, please pardon me if my question seems trivial.
So, I started a project where I have a limited number of static images.
My current objective is to make several series of images available (let’s call them “campaigns”, where each campaign can consist of easily thousands of images). The solution I was thinking about was the following :
- storing all my (few) assets within the project
- while storing the media on S3 buckets (one for each “campaign”). The images would be served with a simple reference to their URL on S3.
Question 1: does this architecture make sense?
Question2: if so, how to do this exactly? If not so, what is the alternative?
I’ve completed multiple tutorials related to this, however all of them seem to assume you simply want to keep every single static file in S3. I have read the documentation and failed to see how I should go about my problem. I’ve dug up several questions from StackOverflow and the likes, but couldn’t find anything I felt was any help.