In my very first Django app I ran into the int limitation and my app
wouldn't work. It was quite confusing for a newbie Django user, as
every other toolkit and database I have ever used supported long
integers. My app integrates with Twitter, and it was the id field of
tweets from Twitter that broke the int limit. As I'm writing this, new
tweets are given ids around 6.6 billion.

Thinking back to my consulting days, we often used long integers when
integrating different systems. I think it would be very helpful if
Django supported long integers out of the box, as most databases do.
If it is determined that long integers shouldn't be natively
supported, I think the code for how to define your own long integer
field should be added as a note to the Django docs. That way other
newbie Django users won't have to spend time chasing down the answer
in the blogosphere like I did.

All the best,

/Martin


On Dec 12, 10:29 am, Manu <[email protected]> wrote:
> Gosh... copy paste was a bit fast... ti 
> washttp://code.google.com/p/django-iptocountry/
>
> Manu

--

You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en.


Reply via email to