What is the best way to store list of links to cloud files in django model
So you have one model in which you want to save a list of strings (links). The easiest way to do that is by creating a separate model with a textfield and a one-to-many relation.
I am currently working on a project which involves a django model which should have a field containing links to images on AWS S3.
The field should be a list of strings but django has no default field for this.
I have searched online and a way to solve this is by creating another model called imagesModel and link them by ForeignKey. But in my case I really only need a list of strings, so I believe there should be an easier way to accomplish this?
Some other people suggest creating a custom field to hold the list of strings and some suggest using JSON field to hold the list of strings.
I think it should be rather common to store links to images on cloud in django models and there should be a conventional way to do this.
Any help please?