我有3张桌子
PC(ID, PcNAME, Brand)
CellPhoness(ID, CellPhoneName, Brand)
Printers(ID, PrinterName, Brand)
3张表之间没有关系。我想运行一个查询,用户可以在其中输入搜索字符串,程序将搜索 3 个模型以查找数据所在的位置,并以 JSON 响应的形式返回相同的 Id、名称和品牌。
python django django-models django-rest-framework
django ×1
django-models ×1
django-rest-framework ×1
python ×1