Home > front end >  The join () argument must be STR, bytes, or OS. PathLike object, not 'DeferredAttribut
The join () argument must be STR, bytes, or OS. PathLike object, not 'DeferredAttribut

Time:12-27


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
  •  Tags:  
  • Ajax