且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Django用L返回用户模型ID

更新时间:2023-12-01 12:49:46

L后缀只是python告诉你,它使用一个大的整数表示ID。它只会影响您在控制台上看到的内容,也不应该干扰python将其用于其他目的的方式。

The "L" suffix is just python telling you that it is using a large integer to represent the ID. It only affects what you see on the console, and shouldn't interfere at all with the way that python is using that number for other purposes.