12 2020 档案
摘要:计算月份 def get_month_range(start_day,end_day): months = (end_day.year - start_day.year)*12 + end_day.month - start_day.month month_range = ['%s-%s'%(sta
阅读全文
摘要:前端直接<a :href="'http://127.0.0.1:8000/download_excel/?id='+ fileId">下载</a> ##上传文件 #setting配置 UPLOAD_ROOT = os.path.join(BASE_DIR,'upload') from django.
阅读全文
摘要:第一种: 安装: django安装APScheduler pip install apscheduler==2.1.2 定时任务写法: from apscheduler.scheduler import Scheduler sched = Scheduler() # 按时间段 @sched.cron
阅读全文

浙公网安备 33010602011771号