python - Django custom command doesn't run outside project directory -
i'm trying run django custom command using windows task scheduler. if run task windows task scheduler says completes without errors, can tell isn't beingness run.
if run command django project directory runs successfully. however, if run command outside directory command isn't accessible. think task scheduler runs command way, , although task completes, command isn't executed.
how add together list of global commands? how debug sort of issue?
i've got python 2.7.
edit:
i've realised python path in django lists different set of directories directories in sys.path, "import sys". further, project directory format in django's debug thing listed 'c:/project' not format 'c:\python27'
python django django-manage.py
No comments:
Post a Comment