I'm building an app in Python Flask: I want users to be able to upload photos, and I am using the flask_upload extension.
I want to set up the locations where the uploaded files will be stored, and I am not really sure about this. Here is my code:
app.config['UPLOADS_DEFAULT_DEST'] = TOP_LEVEL_DIR + '/ppaysees/app/static/img/'
I got the following file structure