save uploaded file to aws s3 and path to database in django using boto3

前端 未结 0 336
谎友^
谎友^ 2020-12-28 13:26

models.py

def document_file_name(instance, filename):

char_set = string.ascii_uppercase + string.digits
dat = "".join(random.sample(char_se         


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