from django.db import models # MySQL unsigned integer (range 0 to 4294967295). class UnsignedIntegerField(models.IntegerField): def db_type(self, connection): return ‘integer UNSIGNED‘
Django models 无符号整型字段
原文:https://www.cnblogs.com/fengtao4918/p/14853589.html