simple rest api for django