I've developed a website for uploading and downloading images using Django. I've also written a python code using the Google Vision API and executed the file successfully on the command line. Now, where should I place that python code in my Django project, so that my images pass through the API?
Asked
Active
Viewed 151 times
0
-
add https://www.django-rest-framework.org/ and create an endpoint (ApiView or ViewSet) to run your vision api – eugene Jan 02 '20 at 18:38
-
Thank you. Is the endpoint written in views.py? – Kunal Karnik Jan 07 '20 at 10:05