make django project environment

import sys,os
sys.path.append('/path/to/root/of/django/projects/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings'

你可能感兴趣的:(make django project environment)