国外英文版健身教程:力量训练解剖学
这是朋友推荐给我的国外健身教程。本书非常专业,配有很多解剖图来给你讲解每个动作。然而书中的英文很多都是生物学的术语,因此阅读难度较高,并且生物学的英文冗长而无规律,有些单词连老外都觉得难。
此书适合想要学习专业健身知识的人,当然感兴趣的也能瞧瞧,毕竟这种英文教程应该很少有,反正我没见过。
如果您要查看本帖隐藏附件请回复
0 人喜欢
弦圈热门内容
Django change an existing field to foreign key
I have a Django model that used to look like this:class Car(models.Model): manufacturer_id = models.IntegerField()There is another model called Manufacturer that the id field refers to. However, I realized that it would be useful to use Django's built-in foreign key functionality, so I changed the model to this:class Car(models.Model): manufacturer = models.ForeignKey(Manufacturer)This change appears to work fine immediately, queries work without errors, but when I try to run migrations, Django outputs the following:- Remove field manufacturer_id from car - Add field manufacturer to carDoing this migration would clear all the existing relationships in the database, so I don't want to do that. I don't really want any migrations at all, since queries like Car.objects.get(manufacturer__name="Toyota") work fine. I would like a proper database foreign key constraint, but it's not a high priority.So my question is this: Is there a way to make a migration or something else that allows me to convert an existing field to a foreign key? I cannot use --fake since I need to reliably work across dev, prod, and my coworkers' computers.内容来源于 Stack Overflow, 遵循 CCBY-SA 4.0 许可协议进行翻译与使用。原文链接:Django change an existing field to foreign key