|
Email lists >
Django users >
Re: Django admin error? >
Re: Django admin error?
Re: Django admin error?
This post if a part of this thread
|
2008-02-24 08:04:40 |
|
|
Re: Django admin error?
|
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 <malc... pointy-stick.com>
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-s
tick.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
django-users-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
|
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|