Hi,

I'm using Django 0.96. The model has the lines:

latitude = models.FloatField(null=True, max_digits=12,
decimal_places=31, blank=True)
longitude = models.FloatField(null=True, max_digits=12,
decimal_places=31, blank=True)

Then when trying to use the admin tool it throws the above error.




On Feb 23, 10:57 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sat, 2008-02-23 at 06:42 -0800, PB wrote:
> > When trying to add 46.229253 to a floatfield
> > I get displayed error:
>
> > Please enter a valid decimal number with a whole part of at most -19
> > digits
>
> > Any ideas?
>
> What happens when you do enter a float with negative nineteen (or fewer)
> digits? Does it work then?
>
> Perhaps a few more clues are necessary here: what version of Django are
> you using (since FloatField has changed within the last 12 months)? What
> does your model look like? What happens if you reduce it to a small
> example containing just that field?
>
> Regards,
> Malcolm
>
> --
> On the other hand, you have different 
> fingers.http://www.pointy-stick.com/blog/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to