摘要:
1.django中聚合aggregate和annotate GROUP BY的使用方法 https://blog.csdn.net/ayocross/article/details/68951413?utm_source=itdadao&utm_medium=referral 阅读全文
摘要:
插件:django-extensions django-extensions==1.9.8 pip3 install django-extensions 1.数据库shell 命令(项目目录下) python3 manage.py dbshell 执行sql语句 2.查看django orm对应的s 阅读全文
摘要:
from decimal import * a = Decimal('0.1')+Decimal('0.1')+Decimal('0.1')+Decimal('0.3') float(a) >>>>>0.6 阅读全文