Django tutorial: TemplateDoesNotExist at /admin/

2,365 views
Skip to first unread message

nameless

unread,
Jan 3, 2010, 8:52:22 AM1/3/10
to Django users
I am using tutorial on django official documentation. But when I point
to http://127.0.0.1:8000/admin/ , I get this error:


TemplateDoesNotExist at /admin/

admin/login.html

Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Exception Type: TemplateDoesNotExist
Exception Value:

admin/login.html

Exception Location: /usr/local/lib/python2.6/dist-packages/django/
template/loader.py in find_template_source, line 74
Python Executable: /usr/bin/python
Python Version: 2.6.2
Python Path: ['/home/nameless/Django-1.1.1/social', '/usr/lib/
python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-
tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/
usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/
Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/
dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/
lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/
python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages']
Server time: Sun, 3 Jan 2010 07:47:21 -0600
Template-loader postmortem

Django tried loading these templates, in this order:

* Using loader
django.template.loaders.filesystem.load_template_source:
* Using loader
django.template.loaders.app_directories.load_template_source:


I am using Ubuntu 9.10 please help :-\

Ramiro Morales

unread,
Jan 3, 2010, 9:02:21 AM1/3/10
to django...@googlegroups.com
On Sun, Jan 3, 2010 at 10:52 AM, nameless <xsate...@gmail.com> wrote:
> I am using tutorial on django official documentation. But when I point
> to http://127.0.0.1:8000/admin/ , I get this error:
>
>
> TemplateDoesNotExist at /admin/
>
> admin/login.html
>
> Request Method:         GET
> Request URL:    http://127.0.0.1:8000/admin/
> Exception Type:         TemplateDoesNotExist
> Exception Value:
>
> admin/login.html
>
> Exception Location:     /usr/local/lib/python2.6/dist-packages/django/
> [...]

> Python Path:    ['/home/nameless/Django-1.1.1/social', '/usr/lib/
>
> I am using Ubuntu 9.10 please help :-\
>

How have you installed Django?. Using a Ubuntu package (python-django)
or did you perform an installation from source? Make sure you don't have
more than one and possible incomplete installations.

--
Ramiro Morales | http://rmorales.net

nameless

unread,
Jan 3, 2010, 10:44:42 AM1/3/10
to Django users
I have installed python and then django with setup.py install.
I have only one installation. What do I do ?

please help :-\


-----------
On Jan 3, 3:02 pm, Ramiro Morales <cra...@gmail.com> wrote:


> On Sun, Jan 3, 2010 at 10:52 AM, nameless <xsatelli...@gmail.com> wrote:
> > I am using tutorial on django official documentation. But when I point

> > tohttp://127.0.0.1:8000/admin/, I get this error:

nadae ivar badio

unread,
Jan 3, 2010, 11:13:26 AM1/3/10
to django...@googlegroups.com
you are using wish version of python?

2010/1/3 nameless <xsate...@gmail.com>

--

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.



Daniel Roseman

unread,
Jan 3, 2010, 11:52:48 AM1/3/10
to Django users
On Jan 3, 1:52 pm, nameless <xsatelli...@gmail.com> wrote:
> I am using tutorial on django official documentation. But when I point
> tohttp://127.0.0.1:8000/admin/, I get this error:

Did you add 'django.contrib.admin' to INSTALLED_APPS in your
settings.py?
--
DR.

nameless

unread,
Jan 4, 2010, 5:10:06 AM1/4/10
to Django users
I have reinstalled django and now work ^_^

---------

Reply all
Reply to author
Forward
0 new messages