Before you tell me its a bad idea, I know its a bad idea. I'm not asking if its a good idea, I'm asking how to do it.
I have a requirement to store images from an ImageField
from a reusable django app into a database, not necessarily the default database, just a database.
There is a python package that does this, but it requires altering the original model, which I can't do. Its not being hosted in the Google App Engine, so a custom solution for that doesn't work.
Ultimately, what I need is to be able to change the DEFAULT_FILE_STORAGE
setting for a Django 1.9 app, and have all images and files from ImageField
and FileField
properties be stored into a database.
Is this possible?