Forums

how to get and store uploaded pic to a certain django url

I m using cordova JS to upload a pic taken by a cordova plugin camera and uploading it using certain cordova file transfer plugin thus I was using PHP till now but now I knew that pythonanywhere does not support php thats the issue so if someone has a issue or knows how to achieve this without php i.e on a django url how and what should I do it! just the uploading part from js to python django url trying to figure that out only . Thanks in advance!

The Django documentation covers file uploads: https://docs.djangoproject.com/en/3.0/topics/http/file-uploads/