Open Borisboky opened 4 years ago
uploaded files go into MEDIA_ROOT and MEDIA_URL is used to create the url... Have you defined those?
You may want to use the browser's developer console to view what JSON is returned by the upload view and see what the "passed link" says.
I'm trying to use Froala Editor in Django backend but I cant add photos.
In my urls.py in root directory I've added url as follow:
In
setings.py
the I have as follows:In
models.py
I have field as follow:But when I try to add a photo in django admin I get an error as follows:
"IMAGE CANNOT BE LOADED FROM THE PASSED LINK"