Forums

Where are the Django admin templates?

Hi there,

I'm looking for the Django admin templates so I can extend / edit them. On the Python(3.3) console when I import Django and hit: django.__file__ it returns: '/usr/local/lib/python3.4/dist-packages/django/__init__.py'.

However, I can't find this location. In particular if I go to [my username]/local/lib/ then the next folder is /python3.3/ - there is no /python3.4. And within the 3.3 there is just site-packages and no django folder.

Thanks very much for your help.

[edit by admin: formatting]

You need to go to the specific directory /usr rather than to the subdirectory of your home directory. This link is a shortcut to it (it will only work for you).

Thanks!

No problem :-)