Re: Saving a location with a model

2010-08-30 Thread Joel Klabo
looks cool. Any problems with just adding lattitude and longitute float fields? On Aug 30, 3:38 pm, Mikhail Korobov wrote: > You may find this useful:http://bitbucket.org/barttc/django-generic-location > > On 31 авг, 04:05, Joel Klabo wrote: > > > >

Re: Saving a location with a model

2010-08-30 Thread Mikhail Korobov
You may find this useful: http://bitbucket.org/barttc/django-generic-location On 31 авг, 04:05, Joel Klabo wrote: > I want to tie a location to each instance of a model. I am planning on > getting the lat/long. from navigator.geolocation through javascript. > My original

Saving a location with a model

2010-08-30 Thread Joel Klabo
I want to tie a location to each instance of a model. I am planning on getting the lat/long. from navigator.geolocation through javascript. My original idea is to have a location model with fields, latitude, longitude, and the id of whatever model it is linked to. Is that the way to go? Anyone