我正在尝试通过 Django 管理站点上传图像。但它不起作用我已经安装了 PIL 包。但它显示:<django.core.files.storage.FileSystemStorage object at 0x8a92f0c>/mcDonalds.jpg
from django.core.files.storage import FileSystemStorage
projectDirPath = path.dirname(path.dirname(__file__))
storeImageDir = FileSystemStorage(location=projectDirPath + '/couponRestApiApp/static')
storeImage = models.ImageField(upload_to=storeImageDir)
静态目录是空的..我做错了什么...