Hi, I want to use the admin but I have this problem, I was following
the tutorial in djangoproject but when I execute the admin this
appears:

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:     <unknown> in ?, line ?
Python Executable:      /usr/bin/python
Python Version:         2.5.2
Python Path:    ['/home/luxo/Django/mysite', '/usr/lib/python2.5', '/usr/
lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/
python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/
usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/
Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/
site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/usr/
lib/python2.5/site-packages/gtk-2.0', '/var/lib/python-support/
python2.5/gtk-2.0']


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:
          o /usr/lib/python2.5/site-packages/django/contrib/admin/
templates/admin/login.html (File exists)

Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Django Version: 1.0.2 final
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'mysite.polls']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')

Template Loader Error:
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:
/usr/lib/python2.5/site-packages/django/contrib/admin/templates/admin/
login.html (File exists)



Traceback:
File "<unknown>" in ?
  ?. ???

Exception Type: TemplateDoesNotExist at /admin/
Exception Value: admin/login.html

Help me!

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

Reply via email to