Python列表统计重复元素
Python列表查找重复元素的几种方法
Python列表查找重复元素的几种方法
pycharm虽然好用,但是太占内存了,只是临时打开个文件个人觉的还是用sublime好点
mac卸载应用后处理残留文件,以PyCharm为例
mysql使用source恢复单个表时表被删除
django在migrate的时候报错语法错(django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table ((1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL)' at line 1)))
使用alias简写一些常用的命令
python使用zipfile压缩文件,Django使用临时文件夹tempfile下载其他文件,并压缩为zip文件返回给前端
Django使用get_or_create()优化代码
Serializer和ModelSerializer的区别,处理一个外键字段出现两次校验
DRF-Serializer-SerializerMethodField,更加灵活的修改返回给前端的数据