我正在寻找一种在django(2.1)web界面上显示数字时禁用舍入的方法 .
使用图像,这是我在为我的模型实例加载管理界面时看到的内容:
models.py:
class DXXXXXUser(models.Model):
dXXXXXd_id = models.BigIntegerField(primary_key=True, unique=True) # This is the field that get rounded when displayed on the admin interface
abcd = models.CharField(max_length=200)
efgh = models.IntegerField()
# [...]