学习笔记:代数几何简介
本文是我大学时(忘记了是大几)写的算术几何的总结,同时也算是个科普文,用尽量简单的语言来尽可能的让该领域外的人了解。
而之所以写这篇文章,原因也很离谱,其实是我为了完成大学里那个叫做“创新研讨课”的大作业写的。因为我非常不喜欢这个课,就一水课老是说些对我们没帮助的东西,哪怕是讲些学术的东西我也完全没兴趣。
当时最后结课时布置了个大作业,让我们写写自己对本专业了解多少(记不清了),然后我直接写了个代数几何“以示抗议”😄。
PS:其实本文之前我已经发过了代数几何简介,这次我把用latex写的pdf原版也发出来,分享给感兴趣的人。
如果您要查看本帖隐藏附件请回复
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