
django
CaoMei_HuaCha
自律,
勤勉
展开
-
通过运营界面上传图片失败,浏览器提示上传文件时发生HTTP错误(错误代码:500)
通过运营界面上传图片失败,浏览器提示上传文件时发生HTTP错误(错误代码:500)ERROR exception 135 Internal Server Error: /ckeditor/upload/Traceback (most recent call last): File "/home/python/.virtualenvs/django_meiduo/lib/python3.5/sit...原创 2018-06-30 15:19:20 · 18171 阅读 · 0 评论 -
开发项目过程中,打开浏览器页面后,图片加载被拒绝
通过创建的客户端存储图片删除tracker和storage重新创建tracker和storage就有画面了原创 2018-06-30 13:17:14 · 378 阅读 · 0 评论 -
有关于client.conf遇到的问题,通过创建的客户端对象执行上传文件
问题:client.conf文件base_path=FastDFS客户端存放日志文件的目录tracker_server=运行tracker服务的机器ip:22122都正确通过创建的客户端对象执行上传文件>>> from fdfs_client.client import Fdfs_client>>> client = Fdfs_client('meiduo_ma...原创 2018-06-30 11:56:24 · 2229 阅读 · 0 评论 -
商品详情页 ,浏览历史中不显示图片和详细信息,,,抛出异常ERROR basehttp 124 "POST /admin/goods/sku/2/change/ HTTP/1.1" 500 19357
问题:商品详情页浏览历史中不显示图片和详细信息抛出异常django.template.exceptions.TemplateDoesNotExist: search/indexes/goods/sku_text.txtERROR basehttp 124 "POST /admin/goods/sku/2/change/ HTTP/1.1" 500 193573TemplateDoesNotExis...原创 2018-07-01 19:52:42 · 3684 阅读 · 9 评论 -
问题: 通过搜索引擎搜索商品时出现bug,TypeError: __init__() got an unexpected keyword argument 'max_digits'
问题:通过搜索引擎搜索商品时出现bugTypeError at /skus/search/__init__() got an unexpected keyword argument 'max_digits'TypeError: __init__() got an unexpected keyword argument 'max_digits'ERROR basehttp 124 "GET /sku...原创 2018-07-01 21:30:27 · 4544 阅读 · 1 评论 -
问题:开发项目过程中,浏览商品过后,浏览记录不显示任何信息。
问题:开发项目过程中,浏览商品过后,浏览记录不显示任何信息。vue-2.5.16.js:597 [Vue warn]: Property or method "histories" is not defined on the instance but referenced during render. Make sure that this property is reactive, either...原创 2018-07-02 21:32:40 · 587 阅读 · 0 评论 -
问题:商品列表页面不显示商品
问题:商品列表页面不显示商品TypeError: 'type' object is not iterableWARNING base 152 Not Found: /categories/115/hotskus/WARNING base 152 Not Found: /categories/115/WARNING basehttp 124 "GET /categories/115/ HTTP/1....原创 2018-07-03 15:40:45 · 1157 阅读 · 0 评论 -
问题:迁移和创建表格,提示相关字段已存在
需要新建roder表,进行迁移和创建表格,提示相关字段已存在,可以通过以下方法解决:问题原因:之前添加富文本编辑器,需要在tb_Goods表中加入富文本相关字段(desc_detail 、desc_pack、desc_service)。如果在这些新增字段前执行了导入测试数据的脚本文件,会导致python migrate失败,提示相关字段已存在(只做了makemigrations迁移动作,还没有进行...原创 2018-07-06 10:28:55 · 904 阅读 · 2 评论 -
项目部署时出现问题django.core.exceptions.ImproperlyConfigured: Passing a 3-tuple to include() is not supporte
终端提示信息如下:django.core.exceptions.ImproperlyConfigured: Passing a 3-tuple to include() is not supportePass a 2-tuple containing the list of patterns and app_name, and provide the namespace argume...原创 2018-08-14 11:27:20 · 1479 阅读 · 0 评论