Where is my Django installation?

前端 未结 10 2011
小蘑菇
小蘑菇 2020-12-12 15:13

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?

10条回答
  •  爱一瞬间的悲伤
    2020-12-12 16:00

    If you are using virtualenv then it will be:
    /home/user/path where you installed django/django_directory/lib/python2.7/site-packages/Django-1.8.1-py2.7.egg/django/contrib/admin/templates/admin/base_site.html
    base-site.html is the default template.

提交回复
热议问题