Re: using a models fields

2011-04-04 Thread bishwendu kundu
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

[no subject]

2011-03-30 Thread bishwendu kundu
for different databases the query could be formatted as s=temp1.objects.using("mytemp").filter(refId=table1.objects.using("normal").get(pk=something).id) I cannot understand the get argument but may be if you give it a try with a suitable args."using" differentiates between databases. For the fir