2016-08-16 4 views
0

私はupload_to = '製品の定義、私のMEDIA_ROOTは、デバッガのimage.path等しいの/ var/www /の仕事ではDjangoの画像フィールド - マジック

/var/www/work.sanremo-dv.ru/media/です.sanremo-dv.ru/media/imagename.ext - upload_toディレクトリなし。 /var/www/work.sanremo-dv.ru/media/products/imagename.extに格納されているPhisical画像はなぜですか?


enter image description here


enter image description here


enter image description here

答えて

0

多分あなたは最後のスラッシュでupload_toを設定する必要がありますか?

upload_to = 'products/' 
関連する問題