dolaxi's recent timeline updates
dolaxi

dolaxi

V2EX member #195712, joined on 2016-10-11 22:37:18 +08:00
dolaxi's recent replies
Jan 5, 2020
Replied to a topic by dolaxi 问与答 Django 如何用自增 id 作为图片的名
@emeab 我是担心数据量大了,如果 name 太复杂,又没有一定的递增,数据库索引压力比较大
Dec 29, 2019
Replied to a topic by dolaxi 问与答 Django 或查询
@SingeeKing @uhian
有切片确实不好操作,
result = queryset1 | queryset2 我试了一下,貌似可以成功,看原生查询语句,好像没啥毛病
查到一个插件 DjangoRestMultipleModels
序列化多个 queryset 一起返回。
不知道各位大神还有没有别的好方法?
什么没人呢
Dec 1, 2019
Replied to a topic by dolaxi Python Django 模型类的存储结构设计
@matrix1010
网上查来查去,貌似也就这个方法可行了
Dec 1, 2019
Replied to a topic by dolaxi Python Django 模型类的存储结构设计
@artandlol
好扎心的栗子。。。
Dec 1, 2019
Replied to a topic by dolaxi Python Django 模型类的存储结构设计
@cszeus
@assassins9527
不另外建表不可以吗?我担心多建关联表会是数据库读取压力变大,
所有如果字段内容不多还是想尽量放在一个表的字段里
May 13, 2017
Replied to a topic by soratadori 程序员 这种反爬虫策略怎么破
@pubuntu 就是
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2365 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms · UTC 10:34 · PVG 18:34 · LAX 03:34 · JFK 06:34
♥ Do have faith in what you're doing.