glegroups.com] On
Behalf Of bishwendu kundu
Sent: 05 April 2011 02:41
To: django-users@googlegroups.com
Subject: Re: using a models fields
You can try saving the data as
latitude=models.DecimalField(max_digits=7,decimal_places=4).Same for the
longitude field.Here the max_digits takes into account
You can try saving the data as
latitude=models.DecimalField(max_digits=7,decimal_places=4).Same for the
longitude field.Here the max_digits takes into account both decimal and
non-decimal places.All the data can be given in string form as it will be
automatically converted to proper format as speci
2 matches
Mail list logo