Re: Saving Json data from javascript

2018-02-13 Thread Etienne Robillard
I'm not really sure what you meant here. Anyways, there's plenty of good JS frameworks like jQuery to allow you to write Ajax functions to send a JSON array for post-processing in Django. Etienne Le 2018-02-13 à 08:34, Shazia Nusrat a écrit : Can you please show me any example about the

Re: Saving Json data from javascript

2018-02-13 Thread Shazia Nusrat
Can you please show me any example about the structure of code I've provided? Thanks On Tue, Feb 13, 2018 at 2:27 AM, Etienne Robillard wrote: > Hi Shazia, > > You can make a XHR (Ajax) request in javascript to send the data to a > django callback. > > HTH, > > Etienne > >

Re: Saving Json data from javascript

2018-02-13 Thread Etienne Robillard
Hi Shazia, You can make a XHR (Ajax) request in javascript to send the data to a django callback. HTH, Etienne Le 2018-02-12 à 18:04, Shazia Nusrat a écrit : Hi, Below is the code for Javascript from Django template Google Maps API. I need to be able to save this in my Django models

Saving Json data from javascript

2018-02-12 Thread Shazia Nusrat
Hi, Below is the code for Javascript from Django template Google Maps API. I need to be able to save this in my Django models with JSON response. I am new user so an example will be really a great help. Precisely I need to be able to save coordinates like latitude and longitude and then convert