Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 django 模型城市中有一个字段,它存储了 None 但我想更新它如何更新关于我尝试过的用户 ID 的字段数据
a=Model.objects.filter(id=1).update(City = 'Vatican')
这返回了 1