Newbie question.

I've synched to revision 4313, setup a project, added a line to the
urlpatterns to allow normal operation, and set Debug to False. Then I
fire up the builtin server and request a non-existent page. I expect a
"standard 404 page", but what I get is:

Traceback (most recent call last):

 File "C:\Python24\lib\site-packages\django\core\servers\basehttp.py",
line 272, in run
   self.result = application(self.environ, self.start_response)

 File "C:\Python24\lib\site-packages\django\core\servers\basehttp.py",
line 614, in __call__
   return self.application(environ, start_response)

 File "C:\Python24\lib\site-packages\django\core\handlers\wsgi.py",
line 189, in __call__
   response = self.get_response(request)

 File "C:\Python24\lib\site-packages\django\core\handlers\base.py",
line 103, in get_response
   return callback(request, **param_dict)

 File "C:\Python24\lib\site-packages\django\views\defaults.py", line
78, in page_not_found
   t = loader.get_template(template_name)

 File "C:\Python24\lib\site-packages\django\template\loader.py", line
79, in get_template
   source, origin = find_template_source(template_name)

 File "C:\Python24\lib\site-packages\django\template\loader.py", line
72, in find_template_source
   raise TemplateDoesNotExist, name

TemplateDoesNotExist: 404.html



This looks like django can't find it's 404 template.

What totally obvious mistake am I making?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to