I have used this code to make my api
in django tastypie it
works perfectly i want to get the image name with path which is saved in my media file how will i get it i tried img.path and img.name
but it didn't work the link is
and secondly i make this request through my android application and i want to send a string to my application in response containing information how will i send it???