rest api to control camera of raspberrypi with django framework