Hallo, I have a model in which one field value can be a large integer value (from 2^0=1 till 2^32=4294967296).
poolMaskID = models.IntegerField(choices=[(pow(2,elm), '2^%s=%s' % (elm, pow(2,elm))) for elm in range(33)]) The definition of attribute in MySQL database is: poolMaskID int(11) If want to try to input the 2^31 or 2^32 I get the next 'Warning': Out of range value adjusted for column 'poolMaskID' at row 1! I have tried to change the attribute definition in MySQL database and have changed the "postMaskID" to int(12)..... int(16). This was without any result. I have once used 'models.Positive.IntegerField' in place of 'models.IntegerField'. The problem has been stayed the same. Does somebody any idea about this problem? Regards, Nader --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---