models.py
class Geolocation(models.Model):
user = models.ForeignKey(User, null=False)
location_latitude = models.CharField('Latitude', max_length=20, null=True,
blank=True)
location_longitude = models.CharField('Longitude', max_length=20,
null=True, blank=True)
In my application,i am using google map using Javascript.Latitude and
longitude values are displayed in map using marker,i need to get both
values from map and save to database using Python.
1.I want to know how to get the values from map and save.
2.How to right view function and form.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.