哪里是放置它的正确位置,所以当你做类似的事情时:
python myfile.py
或
python runserver.py myapp
把你的修改放在 site.py sitecustomize.py (Python<2.6)文件(在 lib/site-packages to import and run 它@解释器启动)。
site.py
sitecustomize.py
lib/site-packages