On Fri, May 2, 2008 at 5:27 PM, AY <[EMAIL PROTECTED]> wrote:

>
> 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):
>
[snipped some]

>
> TemplateDoesNotExist: 404.html


404.html is the template used to display "Page not found" type errors.
Django doesn't come with one, you are responsible for providing one.  I'd
guess you haven't done that, so you get this error.

Now, I doubt the tutorial is telling you to do anything intentionally that
would generate a 404 (page not found) response.  So, the real problem is in
your url mappings (assuming those urls are valid for the tutorial setup..I
haven't looked at the tutorial in a while).  Are you sure you have followed
the instructions on setting up urls.py correctly?

Karen

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