Chrome/39.0.2171.71 Safari/537.36“错误:无法在(C:\Users\User\Desktop\MyProject\node_modules\engine-munger\view\js.js:38:22) at Object.cache.get (C:\Users\User\Desktop\MyProject\node_modules\engine-munger\lib\cache.js:59:14) at spclOnLoad (C:\Users\User\Desktop\MyProjec
我有一个带图像字段的django ModelForm。当用户提交表单时,我想调整图像的大小,但前提是他们上传了一个新的图像。我的代码如下所示: class Meta: fields = ['picture', '...']
picture = self.cleaned_data['picture']
if p