Following the instruction on Django tutorial #4,  I had encounted the
following problem:

On the website of http://localhost:8000/polls/ ...it displays only one
line of information ...". What's up? "

and on the website of (1)http://localhost:8000/polls/poll_list.html or
(2) http://localhost:8000/poll_list.html (3)http://localhost:8000/
results.html....or (4)http://localhost:8000/polls/resultsl.html...or
(5) http://localhost:8000/polls/1/.....

the screen displays the following ERROR messages:

How do I break throught this hurdle!? Thanks in advance for your
assistances!!

P/S: the template_dirs in setting.py for urls is ....

TEMPLATE_DIRS = ("C:/home/html/django_templates", "C:/home1/html1/
django_templates1"

where 1st string is for django/template/admin/(includes:
base_site.html, index.html) and the 2nd string is for django_template/
polls/(includes: poll_detail.html, poll_list.html, results.html and
404.html)
================================
the screen displays the following error messages:


Traceback (most recent call last):

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

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

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

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

  File "C:\Python25\lib\site-packages\django\views\defaults.py", line
79, in page_not_found
    t = loader.get_template(template_name) # You need to create a
404.html template.

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

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

TemplateDoesNotExist: 404.html


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to