随笔分类 -  django+unbunt+

摘要:使用timeout-decorator pip install timeout-decorator import time import timeout_decorator @timeout_decorator.timeout(3, use_signals=False) #如果改为 True 会报s 阅读全文
posted @ 2020-08-24 10:30 呦吼吼吼~ 阅读(250) 评论(0) 推荐(0) 编辑
摘要:(1) Q: DisallowedHost: Invalid HTTP_HOST header: 'x.x.x.x'. You may need to add 'x,x,x,x' to ALLOWED_HOSTS A: (2) 阅读全文
posted @ 2018-09-19 17:54 呦吼吼吼~ 阅读(131) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示