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
Hello,
I got a couple of fields from a model I want to use
so the models.py looks like this
*
class XZY():
latitude = models.CharField()
longitude = models.CharField(.)
zoomlevel = models.CharField()*
I want to retrieve the data inside latitude, longitude and zoomlevel
to b
3 matches
Mail list logo