Thanks for your reply. We are already using geodjango for latitude and
longitude manipulation. But i want to store decimal (float) data, for
that purpose i selected 'DecimalField'. But the actual problem is when
ever i tried to execute the below query, it always fails
"Vehicle=Vehicl
Firstly, I would very seriously recommend using geodjango for anything
that deals with longitude and latitude. I would also recommend using
IntegerField if your decimal_places is going to be 0.
As for you question, I have no idea why it wouldn't work. There seems
to be a space in your failing Dec
Hie,
I have a problem in django decimal field query
execution. Here i have explained clearly about my problem.
Model
Class VehicleLocation:
simno = models.DecimalField(max_digits=10,
decimal_places=0)
latitude = models.DecimalField(max_digits=25,
decima
3 matches
Mail list logo