我想分配一个模型字段来在 MongoDB 中存储一个 Long 整数类型。我已经用 BigIntegerField 尝试过,但它仍然保留为 MongoDB 中的 Integer 字段。我试过使用:
models.BigIntegerField()
我应该使用哪个模型字段?注意:我已经将 django-nonrel 用于 DJango-MongoDB 关系。
我想分配一个模型字段来在 MongoDB 中存储一个 Long 整数类型。我已经用 BigIntegerField 尝试过,但它仍然保留为 MongoDB 中的 Integer 字段。我试过使用:
models.BigIntegerField()
我应该使用哪个模型字段?注意:我已经将 django-nonrel 用于 DJango-MongoDB 关系。