xx = models.AutoField() # 自增长
xx = models.BigAutoField() # 自增长,允许可增长的数字更大
2.二进制数据
xx = models.BinaryField()
3.布尔型
xx = models.BooleanField() # 不允许为空
xx = models.NullBooleanField() # 允许为空
4.整型
xx = models.PostitiveSmallIntegerField() # 正整数、最多可存储大小为5个字节
xx = models.SmallIntegerField() # 整数、6个字节
xx = models.PositiveIntegerField() # 正整数、10个字节
xx = models.IntegerField() # 整数、11个字节
xx = models.BigIntegerField() # 整数、20个字节
5.字符串
xx = models.CharField() # 对应sql的vachar
xx = models.TextField() # 对应sql的longtext