Where can I find the admin/base_site.html

2,099 views
Skip to first unread message

DJ Chung

unread,
Feb 23, 2011, 4:06:40 AM2/23/11
to Django users
I am going through the tutorial on Djangoproject.com. I'm trying to
work on templates and I don't know where to find admin/base_site.html

Where's the actual code I can copy and paste?

Marcos Moyano

unread,
Feb 23, 2011, 7:38:27 AM2/23/11
to django...@googlegroups.com
It depends on what you are using. For me is /usr/lib/python2.7/site-packages/django/contrib/admin/templates/admin/

Hope it helps.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems.

Jamie Zawinski, in comp.emacs.xemacs

Mike Ramirez

unread,
Feb 23, 2011, 7:44:28 AM2/23/11
to django...@googlegroups.com

http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/templates/admin/base_site.html

anything with admin is in django/contrib/admin

except admindocs which are django/contrib/admindocs

Mike

--

This fortune does not require Microsoft Windows.

Luis Zárate

unread,
Jun 7, 2015, 6:20:25 PM6/7/15
to django...@googlegroups.com

python -c "
import sys
sys.path = sys.path[1:]
import django
print(django.__path__[0] +'contrib/admin/templates/admin/base_site.html')"

2015-06-07 1:18 GMT-06:00 shimanyi valentino <vshi...@gmail.com>:
python -c "
import sys
sys.path = sys.path[1:]
import django
print(django.__path__)"




--
"La utopía sirve para caminar" Fernando Birri


Reply all
Reply to author
Forward
Message has been deleted
0 new messages