12 2018 档案

摘要:"Word2Vec Tutorial The Skip Gram Model" "Visualizing A Neural Machine Translation Model (Mechanics of Seq2seq Models With Attention)" 阅读全文
posted @ 2018-12-30 19:07 yihailin 阅读(145) 评论(0) 推荐(0) 编辑
摘要:如果想要在django admin 后台编辑A表记录时,能同时关联相应的B表记录, 阅读全文
posted @ 2018-12-30 16:44 yihailin 阅读(3909) 评论(0) 推荐(0) 编辑
摘要:1 def get_excel_content(excel_path): 2 contents = [] 3 if self.log_path.endswith('xls'): 4 workbook = xlrd.open_workbook(excel_path, formatting_info=True) 5 ... 阅读全文
posted @ 2018-12-19 00:23 yihailin 阅读(1985) 评论(0) 推荐(0) 编辑
摘要:默认celery的时区为UTC,如果要在django项目中将celery定时任务配置为根据本地时区触发,则需要修改 在setttings.py 添加以下任意一行: # celery 相关配置 CELERY_TIMEZONE = 'Asia/Shanghai' CELERY_ENABLE_UTC = 阅读全文
posted @ 2018-12-19 00:09 yihailin 阅读(2158) 评论(0) 推荐(0) 编辑

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