Re: Trying to make a POST call to a Django view

2016-05-02 Thread Jani Tiainen
On 02.05.2016 19:01, carloratm wrote: hello everyone, I am a frontend developer studying Django, so please forgive my noobish question... I am trying to make a simple ajax call working. I have a form in a template. I would like to use that form to save an object into the database (asynchron

Re: Trying to make a POST call to a Django view

2016-05-02 Thread Carlo Ascani
2016-05-02 18:11 GMT+02:00 ludovic coues : > I would use the browser developer tools to look at what JQuery is > sending to django in the submit event. http://dpaste.com/2MQTNZP I do not see anything wrong there... Any ideas? Thank you > > 2016-05-02 18:01 GMT+02:00 carloratm : >> hello everyon

Re: Trying to make a POST call to a Django view

2016-05-02 Thread ludovic coues
I would use the browser developer tools to look at what JQuery is sending to django in the submit event. 2016-05-02 18:01 GMT+02:00 carloratm : > hello everyone, > I am a frontend developer studying Django, so please forgive my noobish > question... > I am trying to make a simple ajax call working

Trying to make a POST call to a Django view

2016-05-02 Thread carloratm
hello everyone, I am a frontend developer studying Django, so please forgive my noobish question... I am trying to make a simple ajax call working. I have a form in a template. I would like to use that form to save an object into the database (asynchronously). On form submit event: * I prevent r