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
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
2 matches
Mail list logo