2020年4月14日
摘要: python 工具 https://www.cnblogs.com/xzqpy/p/12697575.html mysql 好用语句 https://www.cnblogs.com/xzqpy/p/12697562.html linux 好用语句 。。。 Django 好用工具 https://ww 阅读全文
posted @ 2020-04-14 13:57 谢Rain 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 邮箱首发 import os,sys import smtplib os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.settings") from django.core.management import execute_from_c 阅读全文
posted @ 2020-04-14 13:54 谢Rain 阅读(197) 评论(0) 推荐(0) 编辑
摘要: select * from (select city,usage_percent from cdn_usage_city_5min where time='{getTime()}' and city not like '%未知%' ) as a LEFT JOIN (select city,cart 阅读全文
posted @ 2020-04-14 13:53 谢Rain 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 聚合 Concat from django.db.models import Aggregate, CharField class Concat(Aggregate): """ORM用来分组显示其他字段 相当于group_concat""" function = 'GROUP_CONCAT' tem 阅读全文
posted @ 2020-04-14 13:47 谢Rain 阅读(135) 评论(0) 推荐(0) 编辑