Hello all

I'm using cygwin 1.7 in windows7 with django 1.1.1 and python 2.5.2.

I followed this tut 
http://docs.djangoproject.com/en/1.1/intro/tutorial02/#intro-tutorial02

I got stuck looking for solution to this problem. I always get a
TemplateDoesNotExist at /admin/ when going to http://localhost:8000/admin/.
I tried placing '/usr/lib/python2.5/site-packages/django/contrib/admin/
templates', in TEMPLATE_DIRS but nothing works

I was thinking that this problem maybe on permissions?

Shown below is the error message

TemplateDoesNotExist at /admin/
admin/login.html
Request Method: GET
Request URL:    http://localhost:8000/admin/
Exception Type: TemplateDoesNotExist
Exception Value:
admin/login.html
Exception Location:     /usr/lib/python2.5/site-packages/django/template/
loader.py in find_template_source, line 74
Python Executable:      /usr/bin/python
Python Version: 2.5.2
Python Path:    ['/cygdrive/d/desktop/poll', '/usr/lib/python25.zip', '/
usr/lib/python2.5', '/usr/lib/python2.5/plat-cygwin', '/usr/lib/
python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/lib/
python2.5/site-packages', '/usr/lib/python2.5/site-packages/gtk-2.0']
Server time:    Sat, 20 Mar 2010 14:49:48 -0400

Template-loader postmortem

Django tried loading these templates, in this order:
Using loader django.template.loaders.filesystem.load_template_source:
/usr/lib/python2.5/site-packages/django/contrib/admin/templates/admin/
login.html (File exists)
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)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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