我的 Django 安装在哪里? [英] Where is my Django installation?
本文介绍了我的 Django 安装在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用 Django,但我需要找到默认模板和应用程序.
我不知道它安装在哪里.
我怎样才能找到那个?
解决方案
在 CLI 中,您可以这样做:
<预><代码>>>>导入 django>>>姜戈<来自'/usr/local/lib/python2.6/dist-packages/django/__init__.pyc'的模块'django'>I use Django but I need to find the default templates and applications.
I don't know where it's installed.
How can I find that?
解决方案
in the CLI you can do this:
>>> import django
>>> django
<module 'django' from '/usr/local/lib/python2.6/dist-packages/django/__init__.pyc'>
这篇关于我的 Django 安装在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文