Recommendation for passing location info from front end geolication to back end
Hi folks, once I've got my user's location via the geolocation api:
https://www.w3schools.com/html/html5_geolocation.asp
What's the recommended way to make that latitude and longitude result available to Django. I assume via Ajax, but could someone post a short example of what it should look like?
/r/djangolearning
https://redd.it/c8jwj5
Hi folks, once I've got my user's location via the geolocation api:
https://www.w3schools.com/html/html5_geolocation.asp
What's the recommended way to make that latitude and longitude result available to Django. I assume via Ajax, but could someone post a short example of what it should look like?
/r/djangolearning
https://redd.it/c8jwj5