How to get file location path in python, django?

后端 未结 0 681
小蘑菇
小蘑菇 2020-12-19 05:45

I am trying to get the path of a selected file. This is my code.

file = request.FILES[\'file]

Anyone tell me how to get it? Thanks in advance

相关标签:
回答
  • 消灭零回复
提交回复
热议问题