我的Django安装在哪里?
问题描述:
我使用Django,但我需要查找默认模板和应用程序.
I use Django but I need to find the default templates and applications.
我不知道它的安装位置.
I don't know where it's installed.
我怎么找到那个?
答
在CLI中,您可以执行以下操作:
in the CLI you can do this:
>>> import django
>>> django
<module 'django' from '/usr/local/lib/python2.6/dist-packages/django/__init__.pyc'>