Re: Ajax + Django + jQuery + HTML5

2016-02-29 Thread 'Tom Evans' via Django users
On Sun, Feb 28, 2016 at 9:46 PM, wrote: > > I need get path to local file in for ImageField. > Next, transfer path to my view thought Ajax request, update in database and > almost all. > > I need will make it manually, for my goals. > > May be, anyone known how it

Re: Ajax + Django + jQuery + HTML5

2016-02-28 Thread Harlin Seritt
Usually image_file.url (assuming image_file is the name of your ImageField) should give you the full path to the local file. Not sure what you're using for your Ajax function/call though and how you have your web app set up on the REST part. On Sun, Feb 28, 2016 at 2:46 PM,

Ajax + Django + jQuery + HTML5

2016-02-28 Thread setivolkylany
I need get path to local file in for ImageField. Next, transfer path to my view thought Ajax request, update in database and almost all. I need will make it manually, for my goals. May be, anyone known how it make? I am tried already django-ajaximage, Ajaxfileupload and many other, but it