Seems to be wrong here, but I don't feel wrong media also configured properly
Use FileResponse download, please answer gratitude
Fp=open (OS) path) join (Settings. MEDIA_ROOT, path), 'rb')
CodePudding user response:
Using python3.8 django3.0, ide is vscode