Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

find django/contrib/admin/templates

I have trouble to see django/contrib/admin/templates folder. It seems like it is hidden in /usr/lib/python2.7/dist-packages/ folder, ctrl+h wont help ( appearencely all django files are hidden). "locate django/contrib/admin/templates" in terminal shows bunch of files, but how can i see those files in GUI? I use Ubuntu 12.10 Thanks in advance

like image 799
hln Avatar asked Feb 18 '13 08:02

hln


1 Answers

To see where your django installation resides, run this at the command line:

python -c "
import sys
sys.path = sys.path[1:]
import django
print(django.__path__)"

On my system, this returns

['/usr/local/lib/python2.7/site-packages/django']

Source: Django Docs

like image 145
Jake Romer Avatar answered Oct 20 '22 06:10

Jake Romer