Re: Geocoding in contrib admin

2007-01-16 Thread Matt
Adrian - Thanks for the advice. I was trying to do some template/view magic. Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou

Re: Geocoding in contrib admin

2007-01-16 Thread Jeremy Dunck
On 1/16/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: I'd suggest exposing the long/lat fields in the admin and putting a "Geocode this address" shortcut that, when clicked, would do the geocoding server-side and populate the long/lat fields with the result. You can do this by hooking into the

Re: Geocoding in contrib admin

2007-01-16 Thread Adrian Holovaty
On 1/15/07, Matt <[EMAIL PROTECTED]> wrote: I am using [1]geopy to geocode an address, city, state, and zip from my Events model and save the latitude and longitude to the database during pre_save. My problem is sometimes Google's geocoder returns the wrong lat/lng or a list of possibilities. In