Re: django decimal field query issue

2009-05-10 Thread jai
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

Re: django decimal field query issue

2009-05-10 Thread Will Hardy
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