Monday, 15 September 2014

python - Executing os and subprocess in Django best practice -



python - Executing os and subprocess in Django best practice -

a want write custom command panel in django development server , wondering best solution executing scheme calls django os , subprocess on linux?

is there reserved library purpose in django or should write custom.py in django project scheme calls placed.

django handles few things related straight web , database, in modules views, urls, models , few more.

anything else, implement actual functionality, python , can placed in modules in whatever way like, in other bit of python software. wouldn't set systemcalls in custom.py, i'd set them in system_calls.py, since phone call them that. or library separate django app.

also, preferable run commands background tasks, , start them , see status web. should using celery.

python linux django

No comments:

Post a Comment