I created an integer field for a mobile number as
mobile = models.IntegerField(max_length=20)

In MySQL interface, it created an integer field with length 11.

So my question is how to create bigint in mysql for storing big
numbers such as mobile number.

And my another mysql newbie question is why int(length=20) in mysql
can't store 10 digit number? and is bigint(length=5) different that int
(length=5)?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to