Usage
run_django(condaenv, cmd = "runserver", path_manage.py = "tools/manage.py")
Arguments
- condaenv
name/path of conda environment with Django app
- cmd
command (default: "runserver")
- path_manage.py
relative/absolute path to "manage.py" (default:
tools/manage.py")
Value
runs Django command and opens webbrowser (if cmd == "runserver")