I'm working on a project which requires users to submit posts of various forms.
There are posts that require images and others that require videos. To deal with this and other complexities, I was thinking of using jsonfield
s.
My current issue is handing files, that is images and videos. I was hoping to be able to store the file url in a field in the json field but I haven't come across anything like that on the internet.
Is it possible or advisable to go on with this approach? If so, how can it be done?