Hello,
I have a question. I have started a new project.
This is my "urls.py" file :
from django.conf.urls.defaults import *
urlpatterns = patterns('',
# Example:
# (r'^nadc/', include('nadc.foo.urls')),
# Uncomment this for admin:
(r'^admin/', include('django.contrib.admin.urls')),
)
But If I request the admin page ("http://localhost:8000/adim" I get
the next message:
Request Method: GET
Request URL: http://145.23.236.80:8080/admin/
Exception Type: TemplateDoesNotExist
Exception Value: admin/login.html
Exception Location: /data/cesar/home/Python-2.4.4/lib/python2.4/site-
packages/Django-0.96.1-py2.4.egg/django/template/loader.py in
find_template_source, line 72
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:
Would somebody tell me what the problem is ?
Regards,
Nader
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---