📅  最后修改于: 2022-03-11 14:46:07.987000             🧑  作者: Mango
代码示例1
from django.conf import settings
class Foo(models.Model):
audio = models.FilePathField(path=settings.FILE_PATH_FIELD_DIRECTORY)