随笔分类 -  Fastdfs

摘要:Traceback (most recent call last): File "<console>", line 1, in <module> File "d:\software\python\Lib\fdfs_client\client.py", line 90, in upload_by_fi 阅读全文
posted @ 2020-08-11 03:07 sewen 阅读(788) 评论(0) 推荐(0)
摘要:1.根据课件上的教材重写Storage的url函数,方法如下: from django.core.files.storage import Storage from django.conf import settings class FastDFSStorage(Storage): """自定义文件 阅读全文
posted @ 2020-07-23 05:20 sewen 阅读(605) 评论(3) 推荐(1)
摘要:(env) D:\python_learn\meiduo_project\meiduo_mall>python manage.py shell Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit ( 阅读全文
posted @ 2020-07-22 18:57 sewen 阅读(3123) 评论(1) 推荐(2)
摘要:(env) D:\python_learn\meiduo_project>pip install fdfs_client-py-master.zip Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Processing d:\ 阅读全文
posted @ 2020-07-22 17:49 sewen 阅读(941) 评论(0) 推荐(0)