mousadialo / django-profile

Automatically exported from code.google.com/p/django-profile
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

latitude/longitude in mysql #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
current latitude/longitude fielelds have this params:
DecimalField(max_digits=8, decimal_places=6, default=-100)

It fails on Mysql (4.1) with "Data trancation" warning when when the 
default value provided(-100)

Coorect needs to be: max_digits=9

Original issue reported on code.google.com by ppr.vit...@gmail.com on 5 Mar 2008 at 1:56

GoogleCodeExporter commented 8 years ago
Totally true. This was corrected in the new version 0.2

Original comment by david.ru...@gmail.com on 5 Mar 2008 at 2:40

GoogleCodeExporter commented 8 years ago

Original comment by david.ru...@gmail.com on 5 Mar 2008 at 2:52