python - How to run a system command from a django web application? -
does knows of proven , simple way of running system command django application?
maybe using celery? ...
from research, it's problematic task, since involves permissions , insecure approaches problem. right?
edit: use case: delete files on remote machine.
thanks
here 1 approach: in django web application, write message queue (e.g., rabbitmq) containing information need. in separate system, read message queue , perform file actions. can indeed use celery setting system.
Comments
Post a Comment