1
documents = models.FileField(upload_to=settings.FILE_PATH, verbose_name=
_('Attach Your Documents'), help_text=_('.pdf file not exceeding 5 mb.'),
null=True, blank=True)
이렇게하면 django admin
에있는 파일의 upload
모델이 생성됩니다. 이제 django admin
에서 save
을 클릭하면 S3
에이 파일을 업로드하고 싶습니다. 어디서 x3x13에 대한 메서드를 작성해야합니까? 나는 아무 생각도 얻지 않고있다.장고 관리자를 통해 업로드하는 방법
그 모듈은 환상적입니다. –